Double Title
Hi,
After install SEO by Yoast, the page titles show in double.
This is a well known issue, and the main problem is on the header.php. See here: https://wordpress.org/support/topic/seo-yoast-plugin-double-site-title-appearing-twice
Yoast suggest the following fix:
So, you should review your Title code on header.php so it works with one of the most used WP Plugin.
I don't want to change Theme files because of updates. So, please tell what can I do to fix this issue.
Thank you in advance.
Comments
titles for Yoast works properly. If they are double, it means you forgot to turn off built-in seo fields or you have also title under Settings > General section.
but with othere themes the plugin doesn't have this behavior.
to solve my issue i had to remove %%sitename%% from title and metadata options of the plugin
i'm sure i tried every possible combination of cfg. the only solution was what i said before
maybe i'll check this problem again later and let you know further details
What is the best way for me to fix this issue and still be able to use Yoast properly?
Thanks
If you have any ideas of where I should be looking that would be great?
Thanks
Greets!
Of course, I've disabled the SEO fields, Yoast is configured properly and no, I can't remove the the blog name in settings because Yoast base the title generation on this information. It's not working properly, because, you don't follow the "good practices", at least from the Yoast point of view :
http://kb.yoast.com/article/76-the-seo-title-output-for-the-plugin-doesnt-work-as-expected
As @RossBasco already point it, there should be no "bloginfo( 'name' );" in the header.php
Could you please provide some real help, or better, a fix ?