该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Country Blocker

描述

This plugin “hides” Your WordPress site from traffic that is coming from any Country (you do not select).
We give you three options now
1. https://ipstack.com this is a free service but if you have more then 1,000 requests per month you can find out the best plan for your web site.
2. https://ipgeolocation.io this is a free service for Non-Commercial Usage. but if you have more then 30,000 requests per month / 1,000 Daily Limit you can find out the best plan for your web site.
3. https://ipapi.com this is a free service but if you have more then 1,000 requests per month you can find out the best plan for your web site.

If you need help, go to http://globalwebplugin.com. As well if it does not work for you.
Tell us please

When a IPs Country is detected the plugin will act in one of these ways that you have pick:

  • Blank page

  • Redirection

  • 404 Error Page

  • Default pic

3rd Party service

https://ipstack.com this is a free service but if you have more then 1,000 requests per month you can find out the best plan for your web site.
https://ipgeolocation.io this is a free service for Non-Commercial Usage. but if you have more then 30,000 requests per month / 1,000 Daily Limit you can find out the best plan for your web site.
https://ipapi.com this is a free service but if you have more then 1,000 requests per month you can find out the best plan for your web site.

If this plugin take off and become too much for the service, we will do it in house on are web servers.

安装

  1. Uncompressed the file and upload the folder country blocker to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Pick the Country to not Block page and select the Country you want to allow to your web site.

Note:

By default USA and if you are outside the USA, the system will auto add the county you are in base on the IP address you are using.

常见问题

Not yet

评价

2024 年 8 月 20 日 1 回复
This plugin is a scam. They will lock your website and force you to sign up for their paid subscription
2023 年 3 月 26 日
Plugin was easy to install & setup with an API key for the database update. Doesnt impact my website loading speed. Recommended.
2023 年 3 月 18 日
Hi all, I’ve installed this Country blocker in a hope of stopping all the bogus registrations we get from Russsia. At first I locked myself out of my website as the selection boxes seem to work in reverse. If you tick a box – it blocks that country – where as the instructions say to tick a box to allow it through. Has anyone else found this ? It seems to work well but in reverse to the stated setup. Also – the plugin does not add your country to the allowed list
阅读所有4条评价

贡献者及开发者

“Country Blocker” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Country Blocker”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

*First stable version

1.5

Fix a bugs in the system.
Add a database checker to make sure that is work right each time.

2.0

Rework the code for this plugin.
Fix the 3rd Party service that was change to https://ipstack.com
ADD
A blackdoor to turn off this plugin ONLY if you need to used this. You will need to type in at the end of the url ?help=yes. You need to fill in the info. Then run the it.

2.1

Fix some errors with the code.

3.0

Added new things
1. Allow List that will allow a IP Address into the site. What not needed to check for Block Country. (The person who installed the plugin has their IP address added to the list.)
2. Ban List that will NOT allow a IP Address into the site. Even if the country is allow.
3. Added 2 new 3rd Party service for checking the IP address against a country.

3.1

Fix some errors with the code.

3.2

Fix some errors seach for IP address