How can I say GoogleBot NOT to index one directory?
I know about robots.txt but I never used it before.
I don't want Gbot index for example:
www.mydomain.com/private www.mydomain.com/logs
ect....
but at the same time be SURE that all others bots and dir are allowed.
Thx in advance.
vincevincevince
12:23 pm on Apr 12, 2003 (gmt 0)
rewritemod for user agent of google sending to 404 page?
le_gber
12:31 pm on Apr 12, 2003 (gmt 0)
do you want the other bots to index these directory?
If not you can use:
User-agent: * Disallow: /private Disallow: /logs
And don't forget to put the robots.txt file on the root of your site.
Hope this helped
Leo
vincevincevince
1:13 pm on Apr 12, 2003 (gmt 0)
some spiders are a bit jumpy, that's why i recommend using the modrewrite method if you want to be sure that other spiders don't get scared off. (if they never see it, they can't be scared by it!)
jdMorgan
2:39 pm on Apr 12, 2003 (gmt 0)
joker197cinque,
This will do what you want to do. Copy it exactly, including both blank lines.