bansalhimanshu
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Title displaying blog name twiceI found that Greg’s high performance SEO does not have any problem with title. Further, I have heard that Greg’s SEO works with much less resources. I liked that, others may try.
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Title displaying blog name twicevalentin88 – I will try your solution.
For now, I have modified header.php as follows:
<title><?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;wp_title( ‘?’, true, ‘right’ );
//Himanshu April 25, 2011 Start changed to stop showing Shilpagupta4 after every article title
// Known bug: Library books show title >> I think tags
// Add the blog name.
//bloginfo( ‘name’ );
if (!( is_home() || is_front_page() ) ){
echo ” “;
if (!is_archive() || is_category() || is_tag()){
echo ‘?’; echo ” “;}
bloginfo( ‘name’ );}
//Himanshu April 25, 2011 End changed to stop showing Shilpagupta4 after every article title// Add the blog description for the home/front page.
$site_description = get_bloginfo( ‘description’, ‘display’ );
if ( $site_description && ( is_home() || is_front_page() ) )
echo ” ? $site_description”;// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo ‘ ? ‘ . sprintf( __( ‘Page %s’ ), max( $paged, $page ) );?></title>
Take a look at my blog https://www.shilpagupta4.com and you will see that it has only one known bug (library does not show title propertly). I anyway need to fix library because library shows sidebar below the library content and sidebar shows even on iPhone.
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Title displaying blog name twiceI faced the same issue. I changed header.php file. It took me a few hours to fix. Pages, posts, tags, categories, and archives work fine however I have to fix title for my library. Let me know if you need the code and I will give you the code OR you can experiment. You can also visit my website and see whether this is how you want the title – https://www.shilpagupta4.com
By the way, how is wordpress-seo. I use Yoast SEO. I am facing problem of canonical reference in subscribe page showing link to an archive that does not exist url/2010/10/27/