Support » Plugins and Hacks » Yoast is duplicating blog name in title tag

  • I’m not super sure which of the includes is causing my titles to look like this:

    “Hincapie Ghisallo LS Jersey and Vest Review – FeedTheHabit.com – FeedTheHabit.com”

    I don’t want “- FeedTheHabit.com” in there twice. What should I do with my title include below to eliminate the duplicate?

    <title><?php if (is_home()) {bloginfo('name'); echo ' - ';bloginfo('description'); }else { ?><?php wp_title(' '); ?><?php if(wp_title(' ', false)) {echo ' - '; } ?><?php bloginfo('name'); } ?> </title>

    BTW… I just started using Yoast SEO and this started at that time, apparently.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Yoast is duplicating blog name in title tag’ is closed to new replies.