WordPress plugin intelligence profile

Wonderful Geoblocking Countries

Blocks site access, login, or registration for visitors from selected countries or VPN services, with a custom message per area.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.2.1
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.2 · PHP 7.4
Directory statusactive
Last directory update4 Oct 202628d ago
Active installations20Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Wonderful Geoblocking Countries version 1.2.1 as active, updated 28d ago and tested up to WordPress 7.1.

Overview

About this plugin

Some sites simply do not need worldwide traffic — or keep getting spam registrations and brute-force login attempts from countries they never do business with.

Wonderful Geoblocking Countries lets you block three areas of your site independently, each with its own country list and its own message:

  • Site access — the whole public frontend.
  • Login — the wp-login.php page.
  • Registration — the user registration form.

For every area you pick the mode that fits:

  • Block list — block visitors from the selected countries and allow everyone else.
  • Allow list — allow only the selected countries and block everyone else (e.g. “only visitors from Austria, Germany and Switzerland may log in”).

On top of that, every area can also block visitors who use a VPN service — regardless of which country their VPN server is in. Without this, anyone could get around a country rule with a VPN.

Blocked visitors receive an HTTP 403 response with your custom message (basic HTML allowed).

Built-in safety rails:

  • Logged-in administrators are never geoblocked, so you cannot lock yourself out of a site you are logged in to.
  • The WordPress admin and the login page are never affected by the site access rule — login blocking is its own explicit setting.
  • Visitors whose country cannot be determined are never blocked.

Two free data sources, stored on your server:

  • Country database (required) — the free IP2Location LITE country database (IPv4 + IPv6). It is not bundled: you create a free account at lite.ip2location.com, paste your personal download token into the settings, and the plugin downloads the database (a few MB) onto your server. It refreshes itself about once a month.
  • VPN list (optional) — the IP ranges of the common VPN providers, combined from three free sources because none of them is complete on its own: the X4BNet VPN list (MIT license), the VPN server lists of antonme/ipranges (CC0, taken from the providers’ own server feeds), and all networks of pure VPN operators via RIPEstat. iCloud Private Relay is removed from the list — it hides ordinary iPhone users and is no VPN service. Switch it on with one checkbox — no account or token needed. The plugin downloads it onto your server and refreshes it every week. Only needed if you use the VPN option of an area.

Both updates run automatically and can be switched off at any time; the Download / update databases now button fetches both at once.

g. from Cloudflare’s CF-IPCountry header) into the plugin via the wonderful_geoblocking_countries_client_ip and wonderful_geoblocking_countries_pre_country_code filters.

com. net/).

External services

This plugin connects to three external services. All of them are only contacted to download data files onto your server; no data about your visitors is ever transmitted.

IP2Location (country database). com. The download only happens when you actively configure it: you enter your personal download token and click the download button (afterwards a monthly scheduled refresh re-downloads the database with the same token).

com as part of the download request. com: terms of use, privacy policy.

GitHub (VPN list, optional). com — when you click the download button and then once a week. The request contains no personal data besides the usual technical connection data (your server’s IP address).

: terms of service, privacy statement.

RIPEstat (VPN list, optional). net) for the IP prefixes announced by a few networks that are run only for VPN servers — at the same times as the GitHub download. g.

AS147049 ) and no personal data besides the usual technical connection data (your server’s IP address). This service is provided by RIPE NCC: terms of service, privacy statement.

All lookups for your visitors (country and VPN) happen locally on your server against the downloaded files — visitor IP addresses never leave your site.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • block vpn
  • country block
  • geoblocking
  • geolocation
  • security
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.2 · PHP 7.4
Update activity4 Oct 202628d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version1.2.01.2.1
Version1.1.11.2.0
Version1.1.01.1.1
WordPress compatibility7.1.17.1.2
Version1.0.31.1.0
WordPress compatibility7.17.1.1
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.