🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
CountryLock icon
Slowing down Tested up to 6.8.13

CountryLock

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

Active installs40+10+ tier
Downloads · 30d135▲ +46.7% vs prev. 30d
Rating5/51 reviews
Health score40/100At risk
All-time downloads936Since Nov 2025
Support resolved—No recent threads
RequiresWP 5.0PHP any
Downloads · 7d39▲ +8.3% week over week
Our verdict

Consider an alternative

CountryLock shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites, is rated 5/5 and was last updated 1 year ago, and scores 40/100 on our health check.

  • Small user base (40+ active installs)
  • Very few reviews so far
  • No update in over a year
  • Only tested up to WordPress 6.8 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

246Sep 3Oct 17Dec 1
Yesterday9
Daily average (1y)2
Peak day9Nov 18, 2026
Last 12 months837

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

Rankings

Where CountryLock stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
block >100 10,000 Best block plugins →
block country >100 3,266 Best block country plugins →
country >100 5,802 Best country plugins →
geo >100 1,294 Best geo plugins →
GeoIP #41 255 Best GeoIP plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About CountryLock

From the official readme · v1.0.8

Description

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:

Installation

  1. Upload the countrylock folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to the new ‘CountryLock’ menu in your admin sidebar.
  4. Configure your allowed countries and toggle the plugin to “Enabled”.

Changelog

1.0.8

  • Fix: Corrected admin page structure to prevent other plugins’ notices from appearing inside the UI.

1.0.7

  • Fatal Error fix

1.0.6

  • Refactor: Move inline CSS and JS to external files (tscl-admin.css, tscl-admin.js) and enqueue them properly.
  • Refactor: Rename all internal prefixes from cl_ to tscl_ to meet WordPress.org prefixing standards.
  • Refactor: Remove custom 403 page in favor of the standard wp_die() screen for better compatibility.
  • Fix: Use filemtime() for asset versioning to automatically bust cache.
  • Docs: Add readme.txt with external service disclosure.

1.0.5

  • Initial public release.

Full changelog on WordPress.org →

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 CountryLock alternatives

All block plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Spectra Legacy – Gutenberg Blocks Spectra Legacy – Gutenberg Blocks Gutenberg blocks for existing Spectra websites. Maintained, stable, and fully supported —… by Brainstorm Force 1M+ ★★★★★★★★★★ 4.7 (1.9K) 2 weeks ago 85
2 Breadcrumb NavXT Breadcrumb NavXT Adds breadcrumb navigation showing the visitor's path to their current location. by John Havlik 700K+ ★★★★★★★★★★ 4.6 (132) 3 months ago 71
3 PDF Embedder – PDF Viewer & Embed PDF Files for WordPress PDF Embedder – PDF Viewer & Embed PDF Files for WordPress Embed PDF files in WordPress posts and pages with a responsive PDF viewer block, live Block… by Syed Balkhi 300K+ ★★★★★★★★★★ 4.7 (533) 4 months ago 86
4 Layout Grid Block Layout Grid Block A Gutenberg container block to let you align items consistently across a global grid. by Automattic 200K+ ★★★★★★★★★★ 4.7 (13) 3 years ago 43
5 Crowdsignal Forms Crowdsignal Forms The Crowdsignal Forms plugin allows you to create and manage polls right from within the… by Automattic 200K+ ★★★★★★★★★★ 5 (3) 2 months ago 73
6 Content Views – Post Grid & Filter (Shortcode, Blocks, Elementor Widgets) Content Views Easy to show posts, pages, custom posts in customizable grid, list, slider, accordion… by Content Views 100K+ ★★★★★★★★★★ 4.8 (333) 2 weeks ago 80
7 Email Address Encoder Email Address Encoder A lightweight plugin that protects email addresses from email-harvesting robots, by… by Till Krüss 100K+ ★★★★★★★★★★ 4.2 (160) 6 days ago 85
8 Simple Sitemap – Responsive HTML Sitemap for WordPress Simple Sitemap – Responsive HTML Sitemap for WordPress Build a responsive HTML sitemap in the block editor with live preview, flexible sorting… by David Gwyer 60K+ ★★★★★★★★★★ 3.9 (72) 2 months ago 86
9 Flexible Table Block Flexible Table Block Flexible Table Block is a custom block plugin for the WordPress block editor that allows… by Aki Hamano 40K+ ★★★★★★★★★★ 4.9 (34) 3 weeks ago 95
10 The Icon Block The Icon Block Easily add SVG icons and graphics to the WordPress block editor. by Nick Diego 40K+ ★★★★★★★★★★ 5 (30) 3 months ago 91

FAQ

CountryLock: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is CountryLock free?

Yes. CountryLock is free to download and use from the official WordPress.org plugin directory.

Is CountryLock safe to use in 2026?

CountryLock shows warning signs in 2026 — compare the alternatives below before installing. It runs on 40+ sites, is rated 5/5 and was last updated 1 year ago, and scores 40/100 on our health check.

How many websites use CountryLock?

CountryLock is active on 40+ WordPress websites and has been downloaded 936 times since it launched in November 2025. It was downloaded 135 times in the last 30 days.

Does CountryLock work with WordPress 7.1?

CountryLock is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was CountryLock last updated?

The latest version, 1.0.8, was released on November 17, 2025 (1 year ago).

Who makes CountryLock?

CountryLock is developed and maintained by topsyde.

What are the best alternatives to CountryLock?

The most popular alternatives to CountryLock are Spectra Legacy (1M+ installs), Breadcrumb NavXT (700K+ installs) and PDF Embedder (300K+ 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

↑↓ to move↵ to open