One of the first plugins we install when we are creating a new WordPress website or when we on-board a new SEO client who already has a WordPress website is WordPress SEO by Yoast. It’s a great tool to have on your website to monitor on-page SEO, as well as handling some more technical things like sitemap creation, webmaster verification, and even some basic rich snippets.
One issue that I have encountered on a few websites is that once the plugin is installed, duplicate site titles will appear across the whole site. It doesn’t happen every time I install it – so it must be dependent on the theme you are using. However, I have noticed it enough to feel like posting a fix is necessary. This fix is a bit more technical, so if you aren’t comfortable editing code, you may want to talk to your webmaster.
There are two parts to this fix. The first part is simple: log into WordPress and go to the Yoast plugin options. It should be labeled ‘SEO’ on the menu bar. Go to ‘Titles & Metas’ and under the ‘General’ tab you should see an options for ‘Enable force rewrite titles.’ Make sure this is unchecked.
The second part requires you to have access to edit the header.php file, either in the WordPress editor or any other file editor you have access to. You will need to replace the contents of the <title> tag. The default code in this section will look different from one theme to the next, but the fix is the same no matter what.
**If you’re not comfortable editing code, be sure to consult your webmaster!
Replace everything in between the <title>…</title> with this snippet of code.
<title><?php wp_title(''); ?></title>
This should fix the duplicate site title issue. You will have to go to each page and use the Yoast plugin to make sure your page titles are exactly how you want them to look.