Plugin info

Total downloads: 108,744
Active installs: 7,000
Total reviews: 51
Average rating: 4.6
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 2 language(s)
Contributors: 1
Last updated: 11/22/2025 (39 days ago)
Added to WordPress: 11/4/2014 (11 years old)
Minimum WordPress version: 5.1
Tested up to WordPress version: 6.9
Minimum PHP version: 7.2

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 39 days ago • 51 reviews

65/100

Is Login IP & Country Restriction abandoned?

Likely maintained (last update 39 days ago).

Compatibility

Requires WordPress: 5.1
Tested up to: 6.9
Requires PHP: 7.2

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

This plugin hooks in the authenticate filter. By default, the plugin is set to allow all access and you can configure the plugin to allow the login only from some specified IPs or the specified countries. PLEASE MAKE SURE THAT YOU CONFIGURE THE PLUGIN TO ALLOW YOUR OWN ACCESS. If you set a restriction by IP, then you have to add your own IP (if you are using the plugin in a local setup the IP is 127.0.0.1 or ::1, this is added in your list by default). If you set a restriction by country, then you have to select from the list of countries at least your country. Both types of restrictions work independent, so you can set only one type of restriction or both if you want. Also, you can configure the redirects to frontpage when the URLs are accessed by someone that has a restriction. The restriction is either by country, or not in the specified IPs list.

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 Login IP & Country Restriction to the /wp-content/plugins/ directory of your application
  • Login as Admin
  • Activate the plugin through the ‘Plugins’ menu in WordPress

Frequently Asked Questions

None

Review feed

Dennis Bareis
3/10/2024

Good Set of Free Options (Except for redirection)

I'd like to be able to redirect to a specific page, that doesn't seem possible in free or PRO version.

Screenshots

  1. Login restriction rules and XML-RPC authenticated methods

    Login restriction rules and XML-RPC authenticated methods

  2. IPs restriction: allow and block specific IPs

    IPs restriction: allow and block specific IPs

  3. Countries restriction: allow and block specific countries

    Countries restriction: allow and block specific countries

  4. Redirect options

    Redirect options

  5. Export and import settings, status/debug details

    Export and import settings, status/debug details

Changelog

6.8.1

  • Tested up to 6.8.3
  • Added more IP lookup providers
  • Translation updates

See the changelog for detailed information on changes made in the earlier versions.