WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » [Plugin: WordPress SEO by Yoast] Main page meta description – how to

[Plugin: WordPress SEO by Yoast] Main page meta description – how to

  • I’ve selected “force rewrite” in WP SEO plugin. All pages and post have titles and meta descriptions as I’ve induced in settings. So plugin works ok, no problem with that.

    Only my main page (domain) doesn’t have meta description. I’m checking with this website

    I’ve tried to add in header.php :

    <title><?php wp_title(''); ?></title>
    
    <?php if (  (is_home()) || (is_front_page())  ) { ?>
    <meta name="description" content="na-na-na-na-na" />
    <?php }

    but it doesn’t work.

    What should I doo?

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

  • The topic ‘[Plugin: WordPress SEO by Yoast] Main page meta description – how to’ is closed to new replies.
Skip to toolbar