WordPress plugin intelligence profile

CountryLock

Block/allow countries with one toggle. Lightweight, no upsells. Includes admin bypass, IP allowlist, and block stats.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.8
Current version1.0.8
WordPress coverageTested up to WordPress 6.8
Minimum stackWP 5.0 · PHP —
Directory statusactive
Last directory update17 Nov 202511mo ago
Active installations40Adoption 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 CountryLock version 1.0.8 as active, updated 11mo ago and tested up to WordPress 6.8.

Overview

About this plugin

CountryLock provides a simple, lightweight way to allow or block countries from accessing your WordPress site.

It’s designed to be “set it and forget it” with no upsells, ads, or complex configurations.

✨ Key Features

  • Master Toggle: Enable or disable the firewall with a single click.
  • Allowed Countries List: Specify which two-letter country codes (e.g., US, CA ) are allowed. Everyone else is blocked.
  • Admin Bypass: Logged-in administrators can always bypass the block (toggleable).
  • IP Allowlist: A simple list of IPs or CIDR ranges (like 123.45.67.89 or 10.0.0.0/8 ) that are always allowed.
  • Block Logging: See which countries and IPs are being blocked (toggleable).
  • Zero-Lookup Detection: Automatically uses Cloudflare ( HTTP_CF_IPCOUNTRY ) and other common server-level GEO headers for instant decisions with zero performance impact.
  • Remote Lookup: As a fallback, it can query an external service ( ipapi.co ) if no headers are found.

External Services

This plugin uses one external service as a fallback to determine a visitor’s country if no local GEO headers (like those from Cloudflare or a server-level GeoIP module) are present.

  • Service: ipapi.co
  • What it’s used for: To look up the country of origin for a visitor’s IP address.
  • Data Sent: The visitor’s IP address is sent to the service. This happens only if the “Use remote lookup if no geo headers” setting is enabled AND no local GeoIP headers are detected.
  • Service Policies:
  • Terms of Service
  • Privacy Policy
WordPress.org metadata

Plugin tags

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

  • block country
  • geo
  • geoip
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.8

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.8.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.8
Minimum requirementsWordPress 5.0 · PHP not listed
Update activity17 Nov 202511mo 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

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

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.