Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Because my resource are limited, I need to cut off strangers (inc. USA) for visiting my page. People from the middle of Europe are allowed (Germany, France, Hungary, Poland etc) are allowed. If they are strangers, they will see only a message that they have been restricted for accessing the page. If I restrict them it may lead to get removed or self-banned from the search engines?

Thank you !

share|improve this question
1  
How to you handle European traffic that is routed via US? –  hakre May 4 '12 at 22:48
add comment

migrated from stackoverflow.com May 18 '12 at 8:58

This question came from our site for professional and enthusiast programmers.

1 Answer

That depends from where the search engines actually crawl your site.

Google, for example, usually crawls from USA, so you would block it from indexing your actual site, if you deny USA IPs.

On the other hand, you can't allow only GoogleBot, because that is considered Cloaking, so you have to be very careful.

One solution would be to use a JavaScript file that blocks access to your site, this file has to be blocked using robots.txt, so Google isn't allowed to read it.

Have a look here: http://productforums.google.com/forum/#!category-topic/webmasters/crawling-indexing--ranking/thqhs2Mrmtw

And here's some general info about Cloaking: https://plus.google.com/u/0/109412257237874861202/posts/EbRoyMnqggQ

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.