WordPress plugin intelligence profile

Login IP & Country Restriction

Tighten your website security and fight against dictionary bot attacks originating from other countries, by denying access.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.2
Current version6.8.4
WordPress coverageTested up to WordPress 7.2
Minimum stackWP 5.1 · PHP 7.4
Directory statusactive
Last directory update21 Oct 202611d ago
Active installations8K+Adoption metric — not a quality score
WordPress.org rating4.6 / 5 from 52 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Login IP & Country Restriction version 6.8.4 as active, updated 11d ago and tested up to WordPress 7.2.

Overview

About this plugin

Login IP & Country Restriction hooks into the WordPress authentication system to give you complete control over who can even attempt to access your login page. By default, all access is allowed until you configure specific rules to whitelist or blacklist logins by explicit IP addresses or entire countries.

This plugin is highly effective at stopping massive botnet brute-force attempts before they strain your server resources.

🔒 Core Features (100% Free)

  • IP Restriction: Allow or block specific IP addresses (supports local loops like 127.0.0.1 and IPv6).
  • Country Restriction: Whitelist or blacklist entire countries from accessing the authentication filters.
  • Independent Logic: Run IP rules only, country rules only, or combine both together for maximum security.
  • Smart Redirects: Configure custom behavior to automatically redirect restricted traffic back to the front page.
  • XML-RPC Protection: Secure authentication methods beyond standard web forms.
  • Data Portability: Quickly export and import your security settings, and check status details for debugging.

💎 Take Your Security Further with Pro

Login IP & Country Restriction Pro adds:

* Additional rule types

* Redirect restricted login (404 or 403 with a custom message)

* Lockout duration and individual user lockout

* WooCommerce integration (automatically allow the countries of new customers)

* Bypass the IP and country restrictions for specific roles

* Single IP login per user

* Simulate an IP or country to test your rules

Explore Login IP & Country Restriction Pro →

Important Safety Note: Please ensure you always configure the plugin to allow your own IP address or country before locking down settings so you do not accidentally lock yourself out!

License

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • block country
  • block ip
  • country firewall
  • country restriction
  • login restriction
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.2
Minimum requirementsWordPress 5.1 · PHP 7.4
Update activity21 Oct 202611d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version6.8.36.8.4
WordPress compatibility7.1.37.2
Version6.8.26.8.3
WordPress compatibility7.0.47.1.3
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.