IP2Location Country Redirection & Blocking

Features include:
1. Dual operation modes - block with custom 403 error messages or redirect to specified URLs;
2. Three lookup methods - IP2Location.io API, or offline IP2Location BIN database (supports all formats from DB1 to DB26 including ASN and district data);
3. Smart IP detection - automatic detection of real visitor IP behind proxies, CDNs, and load balancers with support for Cloudflare, X-Forwarded-For, and custom headers;
4. Administrator bypass - backend access remains unrestricted;
5. Multi-country selection - block multiple countries simultaneously.
This extension is ideal for compliance requirements, fraud prevention, geo-targeting, and region-specific content delivery. Developers can easily extend functionality to leverage additional geolocation data fields including region, city, ISP, ASN, district, and more available in the IP2Location database.
IP2Location Country Blocker provides geo-restriction and redirection capabilities using IP geolocation technology. Block or redirect visitors based on their country with support for both IPv4 and IPv6 addresses.
Extension Data :
- Compatibility :
- Joomla 3.xYes
- Joomla 4.xYes
- Joomla 5.xYes
- Joomla 6.xYes


