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
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
Use a robots.txt
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
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).
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/iridiax, thanks heaps for your help, wp is not in the root directory so will put it wp directory as suggested.
Cheers,
Craig
This topic has been closed to new replies.