PDA

View Full Version : How to hide certain web pages from search engines?


malhyp
02-07-2006, 08:00 PM
How to hide certain web pages from search engines?

Hey, I have about 20 pages on my site and in them all have headings.

<title>Login Page</title>

I find that if you go to for example Google and type in Login Page, my login page comes up in the search results.

I don't want the login page to come up in any search result.

How do I stop this from happening?

Mally

domedia
02-07-2006, 08:20 PM
Mally,
this short meta tag will take of it for you.
It will make sure the search engine does not cache your page (or put it in the search engine index) and it will also make sure the search bots ignore links on the same page.
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

malhyp
02-07-2006, 08:38 PM
Hey thanks for the reply.

Do I just add <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> just under <head>?

What do I do with the following?

<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Thanks.

domedia
02-07-2006, 08:51 PM
All meta tags must go in the head area of your website.
The line I gave you is just an addition, you don't have to edit any other tags on your website.

ps. you should change the title for your document. 'Untitled Document' is not very good ;)

malhyp
02-08-2006, 03:26 AM
Hi there, thanks for the good tip. I did a search on the web and also found these. Can anyone explain which would be better to use or what may be the differance between them all?

<meta name="robots" content="none">
<meta name="robots" content="noindex">
<meta name="robots" content="nofollow">
<meta name="robots" content="noindex, nofollow">

TA

Mally

domedia
02-08-2006, 12:38 PM
noindex=search bot will not index that page
nofollow=search bot will not follow links from that page.

malhyp
02-09-2006, 07:03 AM
Thanks for that, I ended up going for the <meta name="robots" content="noindex">. Id say that this will stop the current page from being indexed, but the search bot will follow the links on the page and link them if they dont have <meta name="robots" content="noindex"> inserted on the page.

Thanks heaps Domedia.

Mally.