by Mohamed Shili on WordPress.org
π Block or allow visitors by country. Track access attempts. View analytics. Stay in control β effortlessly.

π Block or allow visitors by country. Track access attempts. View analytics. Stay in control β effortlessly.
Geo Blocker gives you full control over who can access your WordPress site β based on visitor country and IP. Whether youβre protecting content, reducing attack surface, or managing regional access, this plugin does it with precision and clarity.
π― Designed for performance, security, and ease of use.
π Built-in analytics and access logs.
π§ Never get locked out β admin-safe bypass included.
This plugin uses a third-party API to determine the visitorβs country based on their IP address.
/wp-content/plugins/geo-blocker It uses the reliable IpWhoIs API to fetch country data based on the visitorβs IP.
Nope. Itβs optimized with transient caching and smart triggers β no unnecessary lookups.
No. Thereβs a login bypass URL generated for administrators β shown right on the dashboard.
Not yet β current version works site-wide. Per-page rules may come in a future update.
Yes. Logs can be exported in CSV or JSON format directly from the Logs tab.
Yes, but you may need to exclude the pluginβs logic from caching. Dynamic geo checks should not be cached.
Every admin gets a custom bypass link to avoid accidental lockouts. Itβs always visible in the dashboard.
Choose the experience blocked users receive:
β Custom message
β Redirect to another URL
β Send 403 Forbidden header
Logs are stored locally in your WordPress database. The plugin sends only the visitorβs IP to IPWho.is β no personally identifiable information is shared or stored externally.
Looking for even more control and peace of mind? Check out our other tools:
π Notification Blocker β Hide annoying plugin notices from your dashboard without hacking core files.
π‘οΈ Fortress Login Pro β Obscure your login page, add brute-force protection, and block unauthorized access attempts with ease.
If you like Geo Blocker, youβll probably find these just as helpful. Try them out!