Yoast SEO: title tags are repeating my website name and slogan

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

Read More

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?

Related posts

Leave a Reply

1 comment

  1. 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.