Country Blocker

外掛說明

This plugin “hides” Your WordPress site from traffic that is coming from any Country (you do not select).
We use a web service call https://ipstack.com this is a free service but if you have more then 10,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

We use a web service call https://ipstack.com this is a free service but if you have more then 10,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

使用者評論

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
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈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.