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
add comment

1 Answer

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! –  Brian Jul 10 '12 at 5:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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