Welcome to WebmasterWorld Guest from 50.19.156.133

Forum Moderators: goodroi

Message Too Old, No Replies

Only Allowing Googlebot, Msnbot and Slurp

is it possible?

     

globay

3:11 pm on Mar 11, 2005 (gmt 0)

10+ Year Member



I need to reduce robothits as much as possible, so I would like to ban all robots except for googlebot, msnbot and slurp.

I didn't find a solution in previous threads, so help is greatly appreciated.

encyclo

3:39 pm on Mar 11, 2005 (gmt 0)

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You just block everything by default, and then override with the three specific bots you want to allow. Try:

User-agent: *
Disallow: /

User-agent: Googlebot
Disallow:

User-agent: MSNBot
Disallow:

User-agent: Slurp
Disallow:

Of course, there are quite a few spiders which don't obey robots.txt, so you'll have to block those with mod_rewrite.

globay

3:51 pm on Mar 11, 2005 (gmt 0)

10+ Year Member



Thank you!

Just one more question:

is it okay to write:

User-agent: *
Disallow: /

User-agent: Googlebot
Disallow:
Disallow: /subfolder/

ThomasB

4:28 pm on Mar 11, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



globay, try the following:

User-agent: *
Disallow: /

User-agent: Googlebot
Disallow: /subfolder/

 

Featured Threads

Hot Threads This Week

Hot Threads This Month