Forum Moderators: phranque

Message Too Old, No Replies

Don't Index This Page

         

Fortune Hunter

1:02 am on Apr 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have heard that you can add some code to a page so that the search engines won't index it. For example, if you have a "Thank you" page that roll users over to after they buy something or send an email. I don't want this page ever showing up in a search engine. I only want users getting here if they went through the steps that should lead them there.

Anyone know what this code is that you add to keep a search engine from indexing the page?

Fortune Hunter

tomda

1:07 am on Apr 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Add this line in your header
<meta name='robots' content='none'>

Do some readings about robots metatag as they are different possibilities (none, all, follow, nofollow, etc...). If this case, none means not to index the page and not to follow links seen in the page.

Fortune Hunter

1:16 am on Apr 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Tomda:

Thank you, you mentioned I should read some additional information about robots. Where do I find information like this?

Fortune Hunter

tomda

1:43 am on Apr 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Type in Google
"html tutorial robots none"

Note that robots.txt is another advanced way to do it, but in your case (for a single page) you'd better read documentation about ROBOTS HTML METATAG.

yococs

7:03 am on Apr 8, 2005 (gmt 0)

10+ Year Member



add this line on the page you dont want to index

<meta name='robots' content='noindex'>

CanadianChris

3:00 pm on Apr 8, 2005 (gmt 0)

10+ Year Member



Or put it in your robots.txt file:

UserAgent: *
Disallow: /path/filename.html

Fortune Hunter

10:17 pm on Apr 10, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thank you to everyone, this is exactly what I needed.

Fortune Hunter