WP Manifestindependent plugin directory
manifest / security / codecaste-country-access-control

Country Access Control by CodeCaste

Restrict website access by visitor country using a local IP geolocation database. No external APIs required.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/code-caste/codecaste-country-access-control/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Restrict front-end access by visitor country using a local IP geolocation database. No external APIs are required at runtime.

Country Access Control dashboard

Features

  • Country allowlist or blocklist for front-end visitors
  • Local IP geolocation database (no third-party API calls at runtime)
  • Crawler-aware handling for legitimate bots
  • Admin settings, logging, and cache controls
  • Built for WordPress sites that need simple geo access control

Requirements

  • WordPress 5.8+
  • PHP 7.4+

Installation

  1. Download or clone this repository into wp-content/plugins/codecaste-country-access-control
  2. Activate Country Access Control by CodeCaste in WordPress
  3. Open the plugin settings to choose allowed or blocked countries

WordPress.org

Repository

License

GPLv2 or later — see LICENSE.