Geo Blocking
This is a Pro feature. Geo blocking rejects requests from specific countries at the WordPress application level.
Enable under Settings → ScraperBlock → Protection → Geo Blocking.
Settings
| Setting | Default | Description |
|---|---|---|
| Enable Geo Blocking | No | Master toggle for country-based blocking |
| Blocked Countries | [] | ISO 3166-1 alpha-2 country codes to block |
Country Detection
Country detection uses WordPress's WC_Geolocation class if WooCommerce is installed, or MaxMind GeoLite2 directly otherwise. Falls back to IP-based detection via the same proxy-aware header chain as the free plugin.
⚠️
Geo-blocking blocks all content for visitors from blocked countries, not just bots. Use with care - it may affect legitimate customers if the blocked country has real users visiting your site.