WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO Yoast - Double title in Google search (5 posts)

  1. Noips
    Member
    Posted 2 years ago #

    Hi,

    I have a problem with the plugin "WordPress SEO Yoast".
    When activated, it automatically double the title of the site name in the results of recheche Google.

    An example image:
    http://i.imgur.com/dLarX.jpg

    Yet I have set :
    <title> <? Php wp_title ('');?> </ title> in the header.php

    and I checked the "Force rewrite titles".
    I use the latest version (1.0.1) plugin.

    Can someone explain to me how having only one title of the site in the Google results?

    Thank you in advance.

  2. Noips
    Member
    Posted 2 years ago #

    Nobody can help me ? :(

  3. Aleksandra Sasha
    Member
    Posted 2 years ago #

    do it do it manually, replace everything between <title> and </title> tags in header.php, it should be just like WordPress SEO Yoast requires - <title><?php wp_title(''); ?></title>

  4. Moogle Stiltzkin
    Member
    Posted 2 years ago #

    my zbench theme has this

    <title>
    	<?php $the_title = wp_title('', false);
    		if ($the_title != '') :
    			echo wp_title('',false),' | '; bloginfo('name');
    		else :
    			bloginfo('name');
    			if ($paged > 1) { echo ' - page '.$paged; } else { if ($blogdesc=get_bloginfo('description')) echo ' - '.$blogdesc; }
    		endif; ?>
    	</title>

    But in google i noticed recently there is double. So is it safe to remove that and replace with your suggested code ?

  5. Aleksandra Sasha
    Member
    Posted 2 years ago #

    yes, it is, anyway check this out http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-titles-not-working?replies=12 - the same topic.

    http://yoast.com/articles/wordpress-seo/#titles, Optimize your Titles for SEO

    also a good reason to do it - http://wpmu.org/speeding-up-your-wordpress-website-11-ways-to-improve-your-load-time/ 8. Reduce PHP Queries

    if u ar not sure, u can always make a copy of your file.php, b4 doing anything

Topic Closed

This topic has been closed to new replies.

About this Topic