Tested up to: 4.0
Requires at least: 3.5.0
Stable tag: 0.6.4
Contributors: wedi
License: GPLv2 or any later version
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: login, security
Text Domain: limit-login-countries
Domain Path: /languages
GitHub Plugin URI: https://github.com/wedi/limit-login-countries/
This plugin gives you the ability to limit WordPress admin logins based on the country the visitor's IP address is located in.
This plugin gives you the ability to limit WordPress admin logins based on the country the visitor's IP address is located in. It uses Maxmind's GeoIP database which comes in a free lite version.
You can choose between a white- and blacklist mode. In whitelist mode only visitors with IP addresses from the configured countries are allowed. In blacklist mode visitors with IPs from the configured countries are not allowed to login.
Big thanks to all the WP-Translations Team Members!
Included
Upcoming
If you don't see your language or it's not completed yet, join the Community and make it happen.
Thanks to WP-Translations.org it's very easy to translate this plugin:
This plugin is developed by Dirk Weise as a pet project on GitHub. You are welcome to file an issue or send a pull request.
This section describes how to install the plugin and get it working.
/wp-content/plugins/
./wp-content/uploads/
.This plugin requires at least PHP 5.3. The minimum tested WordPress version is 3.5.0. Please report if it works in even older versions.
No worries! Just add define('LIMIT_LOGIN_COUNTRIES_OVERRIDE', TRUE);
to your wp-config.php
and you can login again in whichever country you are.
This version upgrades, among other things, the bundled geo location API which hopefully fixes problems reading the GeoIP database in some cases.
Hotfix for settings link in Plugin list table. The previous release upgraded, among other things, the bundled geo location API.