Login IP & Country Restriction
Tighten your website security and fight against dictionary bot attacks originating from other countries, by denying access.
Safe pick
Yes — Login IP & Country Restriction is a safe, well-maintained plugin to use in 2026. It runs on 8K+ sites, is rated 4.6/5 and was last updated 5 days ago, and scores 91/100 on our health check.
- Loved by users — 4.6/5 from 52 reviews
- Actively developed — last update 5 days ago
- Tested with the latest WordPress (7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Login IP & Country Restrict… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| block country | #2 |
| block ip | #5 |
| country firewall | #6 |
| country restriction | #1 |
| login restriction | #2 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.6 from 52 reviews
About Login IP & Country Restriction
From the official readme · v6.8.6Description
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.
Installation
- Upload the
login-ip-country-restrictionfolder to the/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Navigate to the new settings panel to set up your allowed IPs and countries.
Changelog
None
6.8.6
- Tested up to 7.2
- Added the extended IP range options, using ~ (tilde), for example 192.168.~.~
- The extended IP ranges apply only to IPv4 addresses
See the full changelog for detailed information on changes made in the earlier versions.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Login IP & Country Restriction alternatives
All block country plugins →FAQ
Login IP & Country Restriction: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Login IP & Country Restriction free?
Yes. Login IP & Country Restriction is free to download and use from the official WordPress.org plugin directory.
Is Login IP & Country Restriction safe to use in 2026?
Yes — Login IP & Country Restriction is a safe, well-maintained plugin to use in 2026. It runs on 8K+ sites, is rated 4.6/5 and was last updated 5 days ago, and scores 91/100 on our health check.
How many websites use Login IP & Country Restriction?
Login IP & Country Restriction is active on 8K+ WordPress websites and has been downloaded 142,945 times since it launched in November 2014. It was downloaded 8,268 times in the last 30 days.
Does Login IP & Country Restriction work with WordPress 7.1?
Yes. The developer has tested Login IP & Country Restriction up to WordPress 7.2, the latest release. It requires WordPress 5.1 or newer.
What PHP version does Login IP & Country Restriction need?
Login IP & Country Restriction requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Login IP & Country Restriction last updated?
The latest version, 6.8.6, was released on December 1, 2026 (5 days ago).
Who makes Login IP & Country Restriction?
Login IP & Country Restriction is developed and maintained by Iulia Cazan.
What are the best alternatives to Login IP & Country Restriction?
The most popular alternatives to Login IP & Country Restriction are IP2Location Country Blocker (20K+ installs), Country Access Blocker (1K+ installs) and Block Country (80+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
