Geo & IP Blocker for WooCommerce
Plugin for wordpress and integration with woocommerce
by JRG Code · github.com/jrg-code/geo-and-ip-block · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jrg-code/geo-and-ip-block/archive/refs/heads/main.zipFrom the readme
Geo & IP Blocker for WooCommerce
A powerful WordPress plugin to block or allow access to your WooCommerce store based on geographic location and IP addresses.
Features
- Multi-level Blocking: Block by country, region, or specific IP addresses
- CIDR Support: Block entire IP ranges using CIDR notation
- Multiple Geolocation Providers: Support for MaxMind, IP2Location, and IP-API.com
- Smart Caching: Reduces API calls with WordPress Transients (30-minute cache)
- Local Database Support: Optional offline geolocation using MaxMind GeoLite2
- Priority System: Set rule priorities for fine-grained control
- Detailed Logging: Track all blocked access attempts
- CDN Compatible: Detects real IP behind Cloudflare, proxies, and load balancers
Requirements
- PHP = 7.4
- WordPress = 5.8
- WooCommerce = 6.0
Installation
Basic Installation
1. Upload the geo-ip-blocker folder to /wp-content/plugins/
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Configure your API keys in the settings
4. Add blocking rules as needed
Installation with Local Database (Recommended)
For better performance and unlimited lookups, install the MaxMind GeoIP2 PHP library:
Then configure your Ma
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.0.7 | Dec 21, 2025 |
| v1.0.6 | Dec 19, 2025 |
| v1.0.5 | Nov 19, 2025 |
| v1.0.4 | Nov 19, 2025 |
| v1.0.3 | Nov 17, 2025 |
| v1.0.2 | Nov 17, 2025 |
| v1.0.1 | Nov 17, 2025 |
| v1.0.0 | Nov 17, 2025 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.