WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress SEO by Yoast] Meta Tag Code for Description and Keywords

[Plugin: WordPress SEO by Yoast] Meta Tag Code for Description and Keywords

  • I changed my title tag to this which worked very well.

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

    but my description tag and keywords tag wont populate with what I’m putting in the Title Settings in Yoast. Here is what the tags look like on my template for description and keywords:

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

    Is there simple code fix like there was for the title so these will work as well? Thanks for you help.

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have read through this but don’t see where it talks about the keywords tag code or the keywords description code…

    You actually don’t have to put anything in your template, or hard code anything other than the title change.
    It provides the HTML meta tag automatically based on the settings you have under SEO >> Titles in your Dashboard.

    ahhhh, i didn’t see the Yoast description and Keywords a bit farther down in the head. I just removed the description and keywords at the top of the head and wala!

    thanks very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] Meta Tag Code for Description and Keywords’ is closed to new replies.