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.
Aleksandra Sasha
Member
Posted 7 months 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>
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 ?
Aleksandra Sasha
Member
Posted 6 months ago #