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.

Avis

Lire les 2 avis

Contributeurs/contributrices & développeurs/développeuses

« Country Access Blocker » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Country Access Blocker » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

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