Admin Country Allowlist
By far the simplest country allowlist plugin available. Locks admin panel and XMLRPC access to a given list of allowed countries.
Use with caution
Admin Country Allowlist works, but test it on a staging site before relying on it in 2026. It runs on 80+ sites and was last updated 4 months ago, and scores 58/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (80+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Admin Country Allowlist stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| ban | #84 |
| ban countries | #12 |
| block | >100 |
| Block countries | #80 |
| security | >100 |
Version adoption
Share of active sites per release.
About Admin Country Allowlist
From the official readme · v1.4.0Description
By far the simplest country allowlist plugin available for WordPress. Locks admin panel and XMLRPC access to a given list of allowed countries using QWeb’s IP to country lookup API.
This is free open source software (FOSS), which you’re welcome to either use as-is, or fork and further develop under the very permissive terms of the MIT license.
Out of the box, this is most likely the simplest, most efficient plugin for restricting access to your WordPress admin panel to an allowlist of specific countries. Simply install and activate the plugin, obtain an access key via the QWeb Ltd API console, and enter your access key in the plugin settings. The plugin will automatically determine your own country and add this to the allowlist, and you can add other countries to the list as you like.
Countries are entered as comma separated ISO 3166-1 alpha-2 country codes in a single field, making it super easy to copy & paste the same list across multiple websites.
This plugin also restricts access to the WordPress XMLRPC mechanism, using the same country allowlist.
You can optionally choose to allow or disallow access through known public proxy servers, even if they’re located in an allowed country.
The plugin creates a cache of IP information and automatically clears cache files older than one week. This reduces the number of lookup requests and keeps your website responsive, without creating an unnecessarily large cache.
As a single 25kb file, this is an exceptionally lightweight plugin. Built to be efficient, and using QWeb’s incredibly responsive IP lookup API, the Admin Country Allowlist plugin should be a part of your standard security kit for any WordPress websites that you manage.
This plugin relies on QWeb’s IP to country lookup API for IP to country lookups, and will not function without an active API key from this service. QWeb does provide a FREE tier for this API service, suitable for most websites. Please refer to the QWeb Ltd API Terms of Use and QWeb Ltd Privacy Policy.
Installation
- Install from the WordPress plugin repository.
- Activate the Admin Country Allowlist plugin.
- Log in to the QWeb Ltd API console, generate an API key for the IP Lookup API, and copy this key into the plugin’s settings page.
- Optionally, add additional countries to the allowlist as comma separated ISO 3166-1 alpha-2 country codes.
- Optionally choose to allow or disallow known proxy servers, even when they’re located within the allowed countries.
Changelog
Initial public release.
1.4.0
- Added an option to deny access to the XMLRPC mechanism completely, reducing the number of required API lookups.
- Added blurb to the plugins settings page explaining what this page is for, because the current administrator might not be the original installer.
1.3.0
- When the API usage quota for a given access key is reached, we now only trigger one email instead of triggering for every lookup attempt.
1.2.1
- Added information to the settings page about where to find usage reports.
- Added a Settings button to the admin panel notice that appears if you haven’t yet entered an access key.
- Added a screenshot to the plugin information page to better show its simplicity.
1.2.0
- Added site name to error notification emails to ease managing multiple websites.
- Reworked error notification emails to now also notify if communication with the API failed completely.
1.1.1
- Renamed global scope $cacheDirectory variable to $qwebAcaCacheDirectory to avoid potential conflicts with cache plugins
- Refactored for performance and better readability
1.1.0
- Reworked to no longer block calls for admin-ajax.php, because too many front-end plugins use it for legitimate requests.
- Enabled installation for websites running PHP as old as 5.6, and WordPress as old as 5.8.
- Fixed a minor bug where sanitisation code called array() instead of is_array(), and thus wouldn’t have spotted some broken configurations.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Admin Country Allowlist alternatives
All ban plugins →FAQ
Admin Country Allowlist: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Admin Country Allowlist free?
Yes. Admin Country Allowlist is free to download and use from the official WordPress.org plugin directory.
Is Admin Country Allowlist safe to use in 2026?
Admin Country Allowlist works, but test it on a staging site before relying on it in 2026. It runs on 80+ sites and was last updated 4 months ago, and scores 58/100 on our health check.
How many websites use Admin Country Allowlist?
Admin Country Allowlist is active on 80+ WordPress websites and has been downloaded 3,812 times since it launched in February 2024. It was downloaded 178 times in the last 30 days.
Does Admin Country Allowlist work with WordPress 7.1?
Yes. The developer has tested Admin Country Allowlist up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does Admin Country Allowlist need?
Admin Country Allowlist requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Admin Country Allowlist last updated?
The latest version, 1.4.0, was released on August 14, 2026 (4 months ago).
Who makes Admin Country Allowlist?
Admin Country Allowlist is developed and maintained by Ric.
What are the best alternatives to Admin Country Allowlist?
The most popular alternatives to Admin Country Allowlist are WP-Ban (8K+ installs), Banhammer (1K+ installs) and Country Block (100+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

