BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Admin Country Allowlist icon
Actively maintained Tested with WP 7.1 #5 in ban

Admin Country Allowlist

By far the simplest country allowlist plugin available. Locks admin panel and XMLRPC access to a given list of allowed countries.

Active installs80+10+ tier
Downloads · 30d112▲ +12% vs prev. 30d
Rating—0 reviews
Health score64/100Good
All-time downloads3.5KSince Feb 2024
Support resolved—No recent threads
RequiresWP 5.8PHP 5.6+
Downloads · 7d28▼ -6.7% week over week
Our verdict

Solid choice

Admin Country Allowlist is a solid plugin choice in 2026, with a few things worth checking first. It runs on 80+ sites and was last updated 2 months ago, and scores 64/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 & support

Daily downloads

4812Jul 11Aug 24Oct 8
Yesterday5
Daily average (1y)2
Peak day17Aug 14, 2026
Last 12 months907

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Admin Country Allowlist stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
ban #75 375 Best ban plugins →
ban countries #8 82 Best ban countries plugins →
block >100 10,000 Best block plugins →
Block countries #79 2,230 Best Block countries plugins →
security >100 10,000 Best security plugins →

Version adoption

Share of active sites per release.

  • 1.4100.0%

About Admin Country Allowlist

From the official readme · v1.4.0

Description

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.

Frequently asked questions

I’ve installed, now what?

Once you’ve installed and activated the plugin, all you need to do is enter an API access key into the settings page. Access keys are free and can be generated in seconds via the QWeb Ltd API Console. The plugin will automatically determine your own country as soon as you’ve entered your key, and add this to the allow list. You can add others if you like, but otherwise you’re done!

What exactly does this plugin do?

Every time somebody, or something, tries to access your WordPress admin panel or the XMLRPC mechanism, this plugin looks to see if it already knows the country that their IP address belongs to. If it doesn’t, it uses the IP lookup service to find out. If the determined country is listed in your allow list, or for some reason the country can’t be reliably determined, access is granted. Otherwise the plugin returns a HTTP 403 response and code execution stops there, meaning that your server doesn’t have to waste resources serving complete pages to potentially malicious traffic. Successful…

How much do the API keys cost?

QWeb Ltd offer a free tier for the IP lookup service, which allows up to 40 daily lookups. This should be enough for the vast majority of WordPress websites because lookups only happen once per unique IP attempting admin panel access. You can monitor usage via the QWeb Ltd API Console, and if you run out of quota you’ll receive a notification by email. Paid tiers are also available if you need more requests, starting at $2 per month.

What happens if the API goes down, or my API quota runs out?

This plugin is built to only block access if it’s absolutely certain that it should. So if the plugin doesn’t already have a cached response for a given IP and the API is unavailable, or you’ve reached your requests quota, the plugin will just allow access for that IP until it manages to determine the correct country for it. This way, you never risk getting blocked out of your own admin panel.

Where can I see usage reports?

You can see daily usage graphs via the QWeb Ltd API Console. As soon as you’ve entered your access key, the plugin does a lookup of your own IP to add your country to the allow list, so these graphs should immediately show some data and you’ll know that the plugin is working. For performance, this plugin doesn’t create any kind of logs directly as this would just slow the admin panel down unnecessarily.

Why is this free? What’s the catch?

We’re a web design agency and manage a number of WordPress websites, so we primarily built this plugin to ease our own administrative work. Other plugins exist but generally require manually downloading and updating IP databases, and tend to incorporate more features than we needed. We wanted a really simple, zero maintenance plugin and we already had our own IP lookups API for it to use. Once built, it just made good sense to release this for other WordPress administrators to use. Admittedly, we also hope that if you find this plugin useful, you’d consider using some of our other, paid API…

Something went wrong and I can’t access my own admin panel! Now what?

We’ve made every effort to ensure that this doesn’t happen, but if for some reason it does, simply log in to your websites FTP repository and rename /wp-content/plugins/admin-country-allowlist to /wp-content/plugins/disabled-admin-country-allowlist and WordPress will automatically disable this plugin from firing. If you’re still having trouble, please do get in touch and we’ll work with you to resolve.

This is great! How do I support you?

Thanks! You can support us for free by leaving a review and/or telling other people about this plugin or our API services. Or if you’d like to support us financially, simply upgrade your API key to a paid tier as this will give you more daily requests in return. You can also donate to me, Ric, through Ko-fi where I’m currently maintaining a devlog for an MMO game, Argentauria.

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.

Full changelog on WordPress.org →

Screenshots

Screenshot of the settings page. No convolution or bloat here, just three fields! Enter your API access key, a list of country codes to allow, and whether known proxy servers should be allowed.
Screenshot of the settings page. No convolution or bloat here, just three fields! Enter…

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.

Active installs badge Rating badge Health score badge

Best Admin Country Allowlist alternatives

All ban plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP-Ban WP-Ban Ban users by IP, IP range, host name, user agent and referrer URL from visiting your… by Lester Chan 8K+ ★★★★★★★★★★ 3.7 (27) 2 months ago 74
2 Banhammer – Monitor Site Traffic, Block Bad Users and Bots Banhammer – Monitor Site Traffic, Block Bad Users and Bots Monitor traffic and ban unwanted visitors. Block any user or IP address so they can't… by Jeff Starr 1K+ ★★★★★★★★★★ 4.4 (19) 2 months ago 65
3 Country Block – Ultimate Geo-Blocker, IP Ban & Login Security Country Block Block or allow access by country using a local MaxMind GeoLite2 database, with IP, user… by vpndeals 100+ ★★★★★★★★★★ 4.2 (5) 1 month ago 61
4 IP Ban IP Ban Returns 'Page Not Found' 404 error message for IP's visiting your blog specified in the IP… by w3prodigy 80+ ★★★★★★★★★★ No reviews 16 years ago 25
6 Wp Restricted Wp Restricted wp admin ban for all ip except one ip . by Navdeep 40+ ★★★★★★★★★★ No reviews 8 years ago 24
7 Spam Check for Asgaros Spam Check for Asgaros A simple and configurable spam filter for the Asgaros Forum plugin. Automatically detects… by guidve 30+ ★★★★★★★★★★ No reviews 1 year ago 33
8 bad_ip WP bad_ip WP Lightweight WordPress firewall plugin to block malicious IPs, TOR nodes, and brute-force… by Iridium Intelligence 20+ ★★★★★★★★★★ 5 (1) 1 year ago 40
9 Automatic Ban IP Automatic Ban IP Block IP addresses which are suspicious and try to post on your blog spam comments. by KaizenCoders 20+ ★★★★★★★★★★ 5 (2) 10 years ago 31
10 crawler-hunter crawler-hunter It is a simple but effective plugin. Stops spam bots by checking browser content. You can… by naimgr83 10+ ★★★★★★★★★★ 4.5 (2) 1 year ago 38
11 Ban Subdomain Emails Ban Subdomain Emails Prevent people from registering with emails that contain a subdomain to help reduce spam. by jamiechong 10+ ★★★★★★★★★★ 5 (1) 10 years ago 30

FAQ

Admin Country Allowlist: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 9, 2026

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 is a solid plugin choice in 2026, with a few things worth checking first. It runs on 80+ sites and was last updated 2 months ago, and scores 64/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,525 times since it launched in February 2024. It was downloaded 112 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.3, 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 (2 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

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.