WordPress plugin
Country Access Control by CodeCaste
Restrict front-end access by visitor country using a local IP database. No external APIs are used at runtime.
- Version
- 1.0.2
- Last updated
- Oct 7, 2026
- Tested up to
- WordPress 7.1.5
- Requires
- WP 5.8 · PHP 7.4
Health check
Is Country Access Control by CodeCaste safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
Actively maintained
Last updated on October 7, 2026. Regular updates usually mean bugs and security reports get fixed.
Tested with current WordPress
The author has tested it up to WordPress 7.1.5.
Requires PHP 7.4 or newer
Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.
Rank tracker
Where Country Access Control by CodeCaste ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| access-control | ||||
| country | ||||
| geo blocking | ||||
| geolocation | ||||
| security | ||||
| country access control |
Checked against the top 100 WordPress.org search results.
Overview
What Country Access Control by CodeCaste does
The issue we kept running into
On client sites, “block visitors from these countries” sounds simple — until you look at how most tools do it. Many geolocation plugins phone home on every request, or they lean on a third-party lookup API. That means extra latency, another service in the critical path, and a privacy story that is harder to explain to a client.
We also saw the other failure mode: the rule looks correct in settings, but a full-page cache (LiteSpeed, WP Rocket, Cloudflare HTML cache, host caching) keeps serving a previously allowed page to someone who should be blocked — or the reverse.
What we think about it
Country access control has to be local-first. The decision for a visitor should happen on your server, against data you control, without a round trip to an external API on every page view.
And because the response depends on who is visiting, page caching cannot treat every visitor as if they got the same HTML. If your cache layer ignores that, geo rules will look broken even when the plugin logic is fine.
Why we built this
Description from the author's listing. Read the full listing on WordPress.org
Screenshots
Country Access Control by CodeCaste in action



FAQ
Country Access Control by CodeCaste: questions and answers
What is Country Access Control by CodeCaste?
Country Access Control by CodeCaste is a WordPress plugin by CodeCaste. Restrict front-end access by visitor country using a local IP database. No external APIs are used at runtime.
Is Country Access Control by CodeCaste free?
Country Access Control by CodeCaste is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
Is Country Access Control by CodeCaste still maintained?
Country Access Control by CodeCaste was last updated on October 7, 2026. The current version is 1.0.2. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Country Access Control by CodeCaste require?
Country Access Control by CodeCaste requires WordPress 5.8 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.1.5.
Can Codefreex set up or customize Country Access Control by CodeCaste?
Yes. Codefreex installs, configures and customizes WordPress plugins including Country Access Control by CodeCaste, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Country Access Control by CodeCaste set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.