.htaccess - Will Google be able to access my website after blocking all US IPs? -


i'm going block ips using .htaccess way :

<limit head post> order deny,allow deny 3.0.0.0/8 deny 4.0.0.0/25 deny 4.0.0.128/26 deny 4.0.0.192/28 deny 4.0.0.208/29 .... allow </limit> 

will google able access , index website after blocking ips?

edit : sorry ambiguity, i want google index website.

although google has servers spread across whole world, quite hard search engine's bots originate from. suggest block ip ranges add exclusion clause matches against user-agent search bots like:

setenvifnocase user-agent (googlebot|bingbot|yahoo!\sslurp) is_search_bot  <directory /docroot>     order deny,allow      deny 3.0.0.0/8     deny 4.0.0.0/25     deny 4.0.0.128/26     deny 4.0.0.192/28     deny 4.0.0.208/29      allow env=is_search_bot </directory> 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -