Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18952

    Hi support

    I’m having issues with the meta name=”robots” in the Head of the code on the page.

    I have in WP set the setting to tell the searchengines not to index the site (the site is under construction) but when I look in the code I se this:

    !DOCTYPE html>

    <html lang=”da-DK” prefix=”og: http://ogp.me/ns#” class=”firefox firefox17 html_stretched responsive “>

    <head>

    <meta charset=”UTF-8″ />

    <meta name=”robots” content=”index, follow” />

    <!– plugin and theme output with wp_head() –>

    <meta name=’robots’ content=’noindex,nofollow’ />

    I only want the “meta name=’robots’ content=’noindex,nofollow” but also get a “meta name=”robots” content=”index, follow”. How can I change this.

    I am using WP 3.5 with the latest version of Flagship.

    Regards

    #101503

    Delete following line from header.php:

    if (function_exists('avia_set_follow')) { echo avia_set_follow(); }

    If you use SEO plugins like http://wordpress.org/extend/plugins/wordpress-seo/ you don’t need this line/code anyway.

    #101504

    Thanks. Yes I use WordPress SEO by Yoast :-)

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Meta name="robots" issue’ is closed to new replies.