WordPress.org

Support

Support » Plugins and Hacks » Duplicate title / description tags

Duplicate title / description tags

  • My description tag is a duplicate of the title tag of my pages. Also, the description tag tacks my site’s title onto the end of it, so I have the title tag in there, followed by the ‘Tagline.’

    I have the SEO Yoast plugin and no force rewrite ticked as that doesn’t make a difference.

    In header.php I have the following code:-

    <meta name=”description” content=”<?php wp_title(); echo ‘ | ‘; bloginfo( ‘description’ ); ?>” />

    I’m thinking that there is something I should be changing in there to force it to see my Yoast description and also not use the Tagline too?

    Any help gratefully received.

  • The topic ‘Duplicate title / description tags’ is closed to new replies.
Skip to toolbar