Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1361312

    Hi,

    We have two almost identical sites. However, one site is missing “<meta name=”robots” content=”index, follow” />” on row 5 in the source code which seems to be causing problems.

    Could you please instruct us how to get it back for one of the sites?

    #1361353

    Hey svendahlin,

    Is that line missing altogether, or is it set to nofollow? If it’s nofollow, then please check your settings under Settings->Reading in the WordPress menu. If you need to add that line manually, then you can use a function in functions.php:

    function svendahlin_robots_header(){
    ?>
    <meta name="robots" content="index, follow" />
    <?php
    }
    add_action('wp_head', 'svendahlin_robots_header');

    Best regards,
    Rikard

    #1361361
    This reply has been marked as private.
    #1361374

    Hi,

    Did you check your settings under Enfold->SEO Support? Look for the Meta Tag “robots” option.

    Best regards,
    Rikard

    #1361449

    That worked!

    Thanks a lot!

    #1361452

    Hi,

    Great, I’m glad that we could help. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.