Some bots try to mimic real users by faking browser language or country. To counter this, BotBlocker includes an optional GeoIP Language Mismatch filter, designed to catch visitors whose declared browser language doesn’t match their country of origin.
How GeoIP Language Mismatch Detection Works
When this option is enabled, BotBlocker checks two things for every visitor:
- The browser’s Accept-Language header
- The detected country via GeoIP lookup
If the language and the country are totally unrelated, the visitor is flagged. For example, a visitor from France using only Chinese or Russian in Accept-Language would trigger the filter.
Considering Multilingual Countries
Some countries have more than one widely used language. BotBlocker takes this into account. For instance:
- Switzerland: German, French, Italian
- Belgium: Dutch, French, German
- Canada: English, French
The filter uses a reference list of accepted languages per country, reducing the risk of false positives for legitimate multilingual visitors.
When to Use This Option
This is an advanced setting and should be used with care:
- It’s ideal for projects where most visitors are local, and language/country mismatches are rare.
- For international stores, news portals, or sites with many travelers and expats, this filter can trigger on genuine users.
Admins can choose the action for mismatches: block, show a captcha, or just log the event for further analysis.
How to Enable GeoIP Language Mismatch Filtering in BotBlocker
- Open BotBlocker settings
- Find the GeoIP Language Mismatch option
- Turn on the filter and save settings
Monitor the logs to review how often and for whom the filter triggers, and fine-tune as needed.
FAQ
Will this block tourists or expats?
It might challenge or log them, depending on your settings. Always check analytics before making the filter strict.
Is this setting safe for multilingual sites?
Use caution – whitelist additional languages for countries with diverse populations.
Does this affect speed?
The check is lightweight and has negligible performance impact.