Title: Country Access Blocker
Author: Valeri Kluger
Published: <strong>Septanm 19, 2025</strong>
Last modified: Janvye 24, 2026

---

Search plugins

![](https://ps.w.org/country-access-blocker/assets/banner-772x250.png?rev=3364764)

![](https://ps.w.org/country-access-blocker/assets/icon-256x256.png?rev=3364764)

# Country Access Blocker

 By [Valeri Kluger](https://profiles.wordpress.org/valerikluger/)

[Download](https://downloads.wordpress.org/plugin/country-access-blocker.1.6.zip)

 * [Details](https://hat.wordpress.org/plugins/country-access-blocker/#description)
 * [Reviews](https://hat.wordpress.org/plugins/country-access-blocker/#reviews)
 *  [Installation](https://hat.wordpress.org/plugins/country-access-blocker/#installation)
 * [Development](https://hat.wordpress.org/plugins/country-access-blocker/#developers)

 [Support](https://wordpress.org/support/plugin/country-access-blocker/)

## Description

Country Access Blocker lets you restrict or allow access to your WordPress site 
based on visitor countries.

Features:
 * Block visitors from specific countries * Clean, GDPR-compliant country
list * Easy admin interface to configure blocked countries * Enable or disable IP-
based country blocking with one checkbox * No external dependencies or WooCommerce
required * Uses ip-api.com free API for geolocation

This plugin is ideal if you want to restrict access from certain countries or comply
with geo-based regulations.

### License

This plugin is licensed under the GPLv2 or later.

### Support

For support or bug reports, please open an issue on the plugin’s GitHub repository
or contact the author.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/country-access-blocker` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Go to the **Country Blocker** menu in the WordPress admin.
 4. Enable the checkbox for “Enable IP-based country blocking”.
 5. Select the countries you want to block.
 6. Click “Save settings”.

## FAQ

### Does this plugin work without enabling IP-based blocking?

No. The plugin requires the IP check to be enabled to function. You must enable 
IP-based country blocking to use the plugin’s blocking features.

### Which geolocation service does this plugin use?

It uses the free ip-api.com API to determine visitor countries based on their IP
addresses.

### Is the plugin GDPR compliant?

The plugin does not store or transmit any personal data other than the visitor IP
for the purpose of country detection. The country list is clean and minimal.

### Can I whitelist countries instead of blocking?

Currently, the plugin works by selecting countries to block. Whitelisting is not
supported in this version.

## Reviews

![](https://secure.gravatar.com/avatar/a2a22c4adb416f7ea1ea1aa367ef1f905f5e78d784de83e5c163e3f2cb38e71d?
s=60&d=retro&r=g)

### 󠀁[risolto problema traffico anomalo](https://wordpress.org/support/topic/risolto-problema-traffico-anomalo/)󠁿

 [carlaita](https://profiles.wordpress.org/carlaita/) fevriye 9, 2026

Avevo un traffico anomalo da Singapore. Grazie a Valeri il problema è risolto!

![](https://secure.gravatar.com/avatar/b5e1be4aeaee6726b1839f62150ee7d1b4f280b8f5c092324d11d798fc9fc363?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-40913/)󠁿

 [stephan32](https://profiles.wordpress.org/stephan32/) Oktòb 4, 2025

Useful plugin, i can block every Country with it.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/country-access-blocker/reviews/)

## Contributors & Developers

“Country Access Blocker” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Valeri Kluger ](https://profiles.wordpress.org/valerikluger/)

[Translate “Country Access Blocker” into your language.](https://translate.wordpress.org/projects/wp-plugins/country-access-blocker)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/country-access-blocker/),
check out the [SVN repository](https://plugins.svn.wordpress.org/country-access-blocker/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/country-access-blocker/)
by [RSS](https://plugins.trac.wordpress.org/log/country-access-blocker/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.6

 * Added all available local WP Languages
 * Minor UI improvements

#### 1.5

 * Added North Korea to the country list
 * Added a small admin info card and a review button
 * Added a dismiss button to hide the admin card for 30 days
 * Minor UI spacing improvements

#### 1.4

 * Added admin UI improvements to enable country blocking toggle
 * Improved detected country display after saving settings
 * Fixed unblock all button to not disable IP check toggle
 * Minor bug fixes and code cleanup

#### 1.3

 * Initial public release

## Meta

 *  Version **1.6**
 *  Last updated **3 months ago**
 *  Active installations **700+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/country-access-blocker/)
 * Tags
 * [block country](https://hat.wordpress.org/plugins/tags/block-country/)[block ip](https://hat.wordpress.org/plugins/tags/block-ip/)
   [Country blocker](https://hat.wordpress.org/plugins/tags/country-blocker/)[geo blocking](https://hat.wordpress.org/plugins/tags/geo-blocking/)
   [ip blocker](https://hat.wordpress.org/plugins/tags/ip-blocker/)
 *  [Advanced View](https://hat.wordpress.org/plugins/country-access-blocker/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/country-access-blocker/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/country-access-blocker/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/country-access-blocker/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/country-access-blocker/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/country-access-blocker/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/country-access-blocker/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/country-access-blocker/reviews/)

## Contributors

 *   [ Valeri Kluger ](https://profiles.wordpress.org/valerikluger/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/country-access-blocker/)