T TiNiB New Member ★★★★★★★★★★ Impact 0 Jul 5, 2003 1K views 6 replies #1 hi how do i stop search engines from indexing my page. i have heard that there is a bit of code to stop this?? thx Click to expand...
hi how do i stop search engines from indexing my page. i have heard that there is a bit of code to stop this?? thx
D deadserious Established Member ★★★★★★★★★★ Impact 6 Jul 6, 2003 #2 You can add something like this to a text file: Code: User-agent: * Disallow: / Save it as robots.txt and upload it to your main directory. That would tell the robots to not index any directory below /. You can also disallow more than one or certain directories by doing something like: Code: User-agent: * Disallow: /downloads/ Disallow: /cgi-bin/ Don't put any secret directories in that file because someone can just type in http://yourdomain.ext/robotx.txt and see what's in it. User-agent: * is the the name of the bot. Using * is a wild card for all bots. You could also do something like: Code: User-agent: GoogleBot To disallow certain spiders/bots. You can usually find the names of the bots on the search engines website. More info here: http://www.robotstxt.org/wc/exclusion.html#robotstxt Click to expand...
You can add something like this to a text file: Code: User-agent: * Disallow: / Save it as robots.txt and upload it to your main directory. That would tell the robots to not index any directory below /. You can also disallow more than one or certain directories by doing something like: Code: User-agent: * Disallow: /downloads/ Disallow: /cgi-bin/ Don't put any secret directories in that file because someone can just type in http://yourdomain.ext/robotx.txt and see what's in it. User-agent: * is the the name of the bot. Using * is a wild card for all bots. You could also do something like: Code: User-agent: GoogleBot To disallow certain spiders/bots. You can usually find the names of the bots on the search engines website. More info here: http://www.robotstxt.org/wc/exclusion.html#robotstxt
D DarkDevil Established Member ★★★★★★★★★★ Impact 0 Jul 16, 2003 #5 What sort of website are you running that you wouldn't want people to find it online? just wondering. Click to expand...
What sort of website are you running that you wouldn't want people to find it online? just wondering.
T TiNiB New Member ★★★★★★★★★★ Impact 0 Jul 16, 2003 #6 my online cv. it has personal info on it and its only for employer. Click to expand...
D DarkDevil Established Member ★★★★★★★★★★ Impact 0 Jul 16, 2003 #7 Ah. Ok, it satisfies my curiousity. I'm hoping your taking some other steps in preventing people from finding it. Click to expand...
Ah. Ok, it satisfies my curiousity. I'm hoping your taking some other steps in preventing people from finding it.