WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] no index, no follow single page (5 posts)

  1. Nurice
    Member
    Posted 5 years ago #

    My theme at http://www.hopeundivided.com has the header coded:
    <meta name="robots" content="follow, all" />
    I really like this, but on a few single pages and posts I need to use:
    <meta name="robots" content="noindex">

    Can I keep the original "follow all" and change single pages by custom fields (preferred)? Or is there php code I should put into my header to change for specific pages/posts? I don't want to make these pages/posts private, just not indexed.

    Thanks,
    Lois

  2. stvwlf
    Member
    Posted 5 years ago #

    Hi

    You can install either the Robots Meta or Headspace plugins, which let you set up site default robot settings, and then override them on a post by post or page by page basis.

  3. Nurice
    Member
    Posted 5 years ago #

    Thanks, sounds great, I'll have a look!

  4. albertf
    Member
    Posted 5 years ago #

    I also strongly suggest downloading the Ultimate noindex, nofollow plugin in the WP directory.

  5. Nurice
    Member
    Posted 5 years ago #

    Thanks stvwlf and AlbertF. I wound up installing the Robots Meta. I think it does most of what the Ultimate noindex,nofollow plugin does, and several other things as well. It is working out great!

    Thanks to both of you for your recommendations.
    Lois

Topic Closed

This topic has been closed to new replies.

About this Topic