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

I am constantly seeing in my logs the same type of visitor: They have no language setting, i.e.

$_SERVER['HTTP_ACCEPT_LANGUAGE'] == ''

so it's empty, and their referrer is some scam server in Russia or Ukraine. I get many of these every day. I've been banning them selectively based on their referrer but it seems I am getting similar non-browser based visitors from China as well who have no referrer. So should I just ban these people or bots?

Examples of referrers:

http://www.odeialo.ru/
http://www.moregirls.org/
http://segway911.ru/
share|improve this question
1  
You can block on referrers but be-careful proceeding with blocking based on language since some people like to stay anonymous and use various chrome/firefox extensions that block data collecting and I believe that some even block the language. –  bybe Mar 24 '13 at 17:58

1 Answer 1

Unless you have a reason to believe such requests are harming your site or affecting the experience of legitimate users, I suggest you avoid any broad rule to block visitors. They may occur for legitimate people which would be counter-productive.

Now, if something bad is happening, such as longer response time for visitors, excessive bandwidth usage, etc, then keep an eye on the logs to find out which rule to base your ban on. If it is really that there is no accept-language, so be it but I'd try more specific things first.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.