Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question

closed as off-topic by Pieter Goosen, cybmeta, anu, G. M., Johannes Pille Nov 13 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.

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
    
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.