Login IP & Country Restriction
by Iulia Cazan 4.6 (52 reviews)

Login IP & Country Restriction

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

Login IP & Country Restriction ranks #2,346 among WordPress.org plugins with 8,000+ active installations, is #93 of 1,659 in the Authentication category, a 4.6/5 rating from 52 reviews, and was last updated Oct 21, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 7.2
v6.8.4 Current Version v6.8.4
Updated 2 weeks ago Last Update on 21 Oct, 2026
Refreshed 1 week ago Last Refreshed on
#93 of 1,659 in Authentication Top 5% by installs Downloads -53.3% this week Actively maintained
View on WordPress.org
Rank
#2,346
— No change
Active Installs
8K+
-9.2%
KW Avg Position
5.8
— No change
Downloads
112.8K
+28 today
Support Resolved
0%
— No change
Rating
92%
Review 4.6 out of 5
4.6 (52 reviews)

Next Milestone 9K

Total Progress 83.8%
8K+ 9K+
46
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 162 more installs to reach 9K+

Rank Changes

2,229 2,287 2,346 2,405 2,463 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
2,341 2,348 2,355 2,361 2,368 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Current #2,346
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 100 200 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
0 100 200 300 400 500 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.6
52 reviews
Overall 92%
5
43 (83%)
4
3 (6%)
3
3 (6%)
2
2 (4%)
1
1 (2%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for Login IP & Country Restriction. Checked 1 month ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site administrators who want to control who can log into their site. It restricts login access by IP address or country, helping block dictionary bot attacks originating from other countries.

  • Hooks into authenticate filter
  • Restrict login by IP address
  • Restrict login by country
  • Independent IP and country restrictions
  • Default localhost IP allowed
  • Redirect restricted users to frontpage

Frequently Asked Questions

Common questions about Login IP & Country Restriction

No. Out of the box the plugin uses the PHP GeoIP extension when it is available on the server, otherwise the free ipapi.co lookup. Optionally, you can add API keys for the geolocated.io, ip2location.io or geoplugin.net services in the integration settings. The lookup method that works for your server is remembered for a few hours.
Enable the option to trust the Cloudflare visitor IP (HTTP_CF_CONNECTING_IP) in the IPs settings. Enable it only if the site is really behind Cloudflare, because otherwise visitors could spoof that header. Sites that were already using the plugin keep this enabled until the settings are saved.
Yes. Both types of restrictions work entirely independently of one another. You can restrict by country, whitelist a few specific external IPs, or use both methods simultaneously.
If you accidentally lock yourself out by misconfiguring your country or IP whitelist, don't panic. Simply log into your server via FTP or hosting File Manager, rename the plugin folder from login-ip-country-restriction to login-ip-country-restriction-temp to temporarily disable it, log back into WordPress, rename it back, and correct your configuration.

Sign In / Register

You need to sign in or register to use this feature.