wedi / limit-login-countries

This WordPress plugin gives you the ability to limit WordPress admin logins based on the country the visitor's IP address is located in.
http://wordpress.org/plugins/limit-login-countries/
GNU General Public License v2.0
1 stars 1 forks source link

Limit Login Countries

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.

Description

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.

Translations

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:

  1. Go to the project page on Transifex.
  2. Register.
  3. Start translating.

Development

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.

Credits

Installation

This section describes how to install the plugin and get it working.

  1. Upload the plugin to your WordPress plugin directory, which is probably /wp-content/plugins/.
  2. Download Maxmind's current GeoLite database and extract it, e.g. to your WordPress uploads directory, which is probably /wp-content/uploads/.
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Go to settings and configure the plugin

System Requirements

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.

Screenshots

ScreenShot

  1. Whoo! The plugin's options page.

Frequently Asked Questions

HELP! I locked myself out! How do I get in again?

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.

Changelog

Version 0.7

Version 0.6.4

Version 0.6.3

Version 0.6.2

Version 0.6.1

Version 0.6

Version 0.5

Version 0.4

Version 0.3

Version 0.2

Version 0.1

Upgrade Notice

0.6.3

This version upgrades, among other things, the bundled geo location API which hopefully fixes problems reading the GeoIP database in some cases.

0.6.4

Hotfix for settings link in Plugin list table. The previous release upgraded, among other things, the bundled geo location API.