Skip to content

arifislam-me/simple-country-blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Country Blocker

Restricts access to your website based on selected countries.

Description

The Simple Country Blocker plugin allows you to restrict access to your WordPress website based on selected countries. You can choose which countries you want to block, and visitors from those countries will see a custom message or a custom block page.

Features

  • Restrict access to your website based on selected countries.
  • Choose which countries to block.
  • Easy-to-use settings page to manage the blocked countries.
  • Uses the ipinfo.io API to get the user's country based on their IP address.

Installation

  1. Download the plugin ZIP file.
  2. In your WordPress admin dashboard, navigate to "Plugins" → "Add New".
  3. Click on the "Upload Plugin" button and select the ZIP file you downloaded.
  4. Click "Install Now" and then activate the plugin.

Settings

  1. After activating the plugin, go to "Settings" → "Simple Country Blocker" in your WordPress admin dashboard.
  2. Select the countries you want to block by checking the corresponding checkboxes.

How it works

  • The plugin uses the ipinfo.io API to get the user's country based on their IP address.
  • If the user's country is in the list of blocked countries, they will be restricted from accessing your website.

Support

For support and questions, please visit the support forum.

License

This plugin is licensed under the GPL-2.0+ License. See the LICENSE file for details.

About

Restricts access to your website based on selected countries.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors