這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Admin Block Country

外掛說明

Easy to use plugin, that blocks access to your wp-admin area by country. Uses geoip-api-php as the library to work out the visitor’s country.

安裝方式

1) Install WordPress 5.8.2 or higher

2) Download the latest from:

https://wordpress.org/extend/plugins/admin-block-country

3) Login to WordPress admin, click on Plugins / Add New / Upload, then upload the zip file you just downloaded.

4) Activate the plugin.

使用者評論

2022 年 8 月 26 日
I don't know why this is not a perfect 5 from everyone who tried it. Always works. Easy to setup.
2021 年 2 月 5 日
Before installing this plugin I received almost 600 attempted hacks in just a few hours. Wordfence blocked them but all these emails were sitting in my inbox. After installing this plugin I got 22 hack attempts in 12 hours. A lot better to manage. This can become a very popular plugin. Please continue to support it. I will support your efforts. Thanks!
2020 年 4 月 1 日 1 則留言
Habe alle Länder, ausser meines, gesperrt und mit dem VPN getestet: Es funktioniert bestens. Einfach daran denken, dass wenn ihr in die Ferien geht, ihr das Land ausschaltet, sonst kommt ihr nicht auf eure Seite (bei Bedarf). Habe es mit dem neuen WP 5.4 getestet. Plugin Wordfence ist auch aktiv.
2019 年 11 月 9 日
The reviews here are very old, so I had a look at this plugin myself. I got tired of all these hack attempts, so this seemed like a nice way to keep out most of the trash. It's very user friendly, after installation you get a list of countries you want to block admin access from, and a "select all" option. Your own country is not on the list so you can't accidentally block yourself. After that, I could still access the admin section of my site, but when trying from a VM in another country, access was blocked. There was no output, just an empty page, which is fine to me. So, a simple plugin but does exactly what it should. By the way, for some IP addresses the country is not known or incorrect, so no GeoIp application is perfect.
閱讀全部 26 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Admin Block Country〉的開發相關工作。

參與者

將〈Admin Block Country〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

7.1.4

  • Fixed bug caused by closing vulnerabilities

7.1.3

  • Fixed up security vulnerabilities

7.1.2

  • Fixed more bugs caused by debug=true

7.1.1

  • Fixed more bugs caused by debug=true

7.1

  • Fixed up errors from debug=true.

7.0

  • Links up to GeoCity 2.0

6.3

  • Fixed the IP services. Removed IP service list and set it to only use ipcountry.marketingmix.com.au.

6.2

  • Fixed security issue which blocked requests to ipcountry.marketingmix.com.au.

6.1

  • Improved code.

6.0

  • I removed Who country service. You can now upload your own local ip database from maxmind. I’ve added in the instructions.

5.2

  • New IP to country service – utrace. Example http://xml.utrace.de/?query=183.60.244.29

5.0

  • Removed Tom M8te dependency.

4.3

  • Fixed bug with Admin “Select All” checkbox. Played havac with service selector. Never noticed it before.

4.2

  • Fixed bug with geoplugin.

4.1

  • Added in ipcountry.marketingmix.com.au ip to country service which is a server that I own. I noticed that the existing 2 have failed atleast once.

4.0

  • Tried Maxmind in version 3.0, but 2 of my clients couldn’t use it, so I’ve ditched it and now I use two external services: http://who.is, http://www.geoplugin.net.

3.0

  • Uses another method for discovering the country of an ip address.

2.0

  • Used a different method for discovering the country of an ip address. Seems to be less memory intensive.

1.0

  • Initial Commit