Forums

no follow on page (6 posts)

  1. naturoo22
    Member
    Posted 3 years ago #

    Hi All,
    I have a download page that I need to keep search engines from linking to and want to make it a no follow I can't see how I can do this on just one page rather than the whole blog - is there a way?
    Cheers,
    Craig

  2. iridiax
    Member
    Posted 3 years ago #

    Use a robots.txt

  3. naturoo22
    Member
    Posted 3 years ago #

    iridiax, thanks for that.
    So I assume then If I had a page called download to protect from bots,I would have some code that looks like
    user agent:*
    disallow:/download

    Do I just insert this code into the header file using theme edit?

    Thanks for your help

  4. iridiax
    Member
    Posted 3 years ago #

    Create a text file named robots.txt with this in it:

    User-agent: *
    Disallow: /download/

    Upload it to your root level web directory (don't put it in a folder).

  5. iridiax
    Member
    Posted 3 years ago #

    Where is your WordPress installed? If it's not in the root, then you need to include your WordPress directory:

    User-agent: *
    Disallow: /your-wp-directory-here/download/
  6. naturoo22
    Member
    Posted 3 years ago #

    iridiax, thanks heaps for your help, wp is not in the root directory so will put it wp directory as suggested.
    Cheers,
    Craig

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags