I am using the Yoast SEO plugin and I am finding that on my site it is repeating the website title and blog tagline twice. For example, it looks something like this in my browser tab:

Example.com | This is my tagline Example.com This is my tagline

I have implemented, just as Yoast says, the following code in my header.php:

<title><?php wp_title(''); ?></title>

Would it also be helpful for me to provide an export of my SEO plugin settings?

closed as off-topic by Pieter Goosen, cybmeta, anu, gmazzap, Johannes Pille Nov 13 '14 at 16:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.


wp_title() is filterable so there could be another plugin or most likely your theme already adding a filter. Have tried checking the force rewrite in the plugin options? If that doesn't work you need to hunt down what else is adding the filter and remove it. If it's your theme look in functions.php for

add_filter('wp_title', 'some_function_name' );

Remove that line.

  • Yes, it was a snippet of code in my Starkers Theme causing the issue! I removed it. Thank you! – Matt Jul 10 '12 at 5:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.