Welcome to WebmasterWorld Guest from 54.196.233.208

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

How to Allow Only Google, MSN/Yahoo bot access in .htaccess

     
11:05 pm on Dec 23, 2011 (gmt 0)

Full Member

10+ Year Member

joined:June 16, 2004
posts:232
votes: 0


Hi all,
i need help to only allow Google bot and Yahoo/MSN bot access to my site through .htaccess. Any help greatly appreciated.

For Google i got
Allow from googlebot.com google.com google-analytics.com
Satisfy Any
12:26 am on Dec 24, 2011 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

joined:Apr 9, 2011
posts:12702
votes: 244


You'd better backtrack and explain in English what you're trying to do, or you may not get the right information. The "Satisfy" directive implies that your site is open to two groups: humans who enter a password, and robots who are on the Approved list. Is that what you're aiming for?
12:31 am on Dec 24, 2011 (gmt 0)

Full Member

10+ Year Member

joined:June 16, 2004
posts:232
votes: 0


Hi Lucy24, yes thats what i am aiming for, thanks