An advanced security plugin that blocks website visitors by country, with additional features like blacklisting, logging blocked attempts, admin bypas …
As of April 2026, Advanced Country Blocker is a WordPress country plugin with 2.0K+ active installations and a 5/5 rating from 6 reviews. It has been downloaded 12K+ times in total. Requires WordPress 5.0+ and PHP 7.2+. Available on WordPress.org since 2025. Recently updated within the last 3 months. Downloads are down 15% this week. Support resolution rate: 0%. Top alternative: IP Location Block.
Advanced Country Blocker helps you secure your WordPress site by restricting access based on the visitor’s geolocation (country) or IP address. Upon activation, the plugin detects the activating admin’s country and automatically sets that as the only allowed country. All other visitors from different countries are blocked, unless they use a secret key parameter to temporarily whitelist their IP. Country detection uses the privacy-friendly ip-api.com service by default but can be switched to a fully offline MaxMind GeoLite2 (or compatible) database file once you configure a local copy.
Key Features:
Great functionality for restricting or allowing access to content.
@brstefanovic is developing the plugin and adding to its functionality.
I hope that in the future he will implement the ability to localize the interface into other languages.
But even now, the plugin is easy and convenient to use and configure.
Thank you, @brstefanovic.
Looks like this works quite well with the other tools I use. I use uptime robot to monitor my site and disabled their servers’ countries; the service has apparently been alerting for a few hours now. I went ahead and re-added it, but it’s good to know this actually works, even if it throws a 403.
Would rather see an http error 410 or 418 instead of 403.
Effective and powerful country/ip blocker, where others have failed, this plugin worked flawlessly and without issues. As an improvement to the plugin, I would suggest having an option to modify the blocking message and another to redirect to a custom URL.
I just installed this and it seems to be working quite well. This was the only plugin I could find where you could *allow* only certain countries without jumping through some hoops to install a geo database.
So far beyond simple. I only wanted the US to access my website because its the only place I ship to and I get a ton of attacks from other countries. Within minutes my logs showed 3 other countries had already been blocked. I also have WordFence so I can see incoming traffic so it will be neat to see if this blocks the bulk of other countries. With high hopes I thank you for making this plugin!
| WordPress | 5.0+ requiredTested up to 6.9.4 |
| PHP | 7.2+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.