Login IP & Country Restriction icon
Membership & Users

Login IP & Country Restriction

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

Developer Iulia Cazan
84 Excellentmaintenance
  • 12 yearson WordPress.org
  • 7plugins
  • 21,000+installs in total
  • 4.7★avg. rating (191)
  • 100%of plugins updated this year
10/14 badges Profile →

Is Login IP & Country Restriction safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 1 month ago (version 6.8.4).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.2; the current release is 7.1. Needs PHP 7.4+.
  • Pass: Well rated Rated 4.6/5 by 52 users on WordPress.org.
  • Pass: Widely used Active on 8,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 22, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Login IP & Country Restriction describes itself as: “Tighten your website security and fight against dictionary bot attacks originating from other countries, by denying access.”

It is active on 8,000+ WordPress sites and rated 4.6 out of 5 by 52 users on WordPress.org. Developers can extend it through 4 actions and 7 filters, listed below.

We haven't published a hands-on review of Login IP & Country Restriction yet. Want one, or need help with it? Send us a request.

How to install Login IP & Country Restriction

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Login IP & Country Restriction” and pick the one by Iulia Cazan.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install login-ip-country-restriction --activate

Requirements: WordPress 5.1+ · PHP 7.4+ · tested up to WordPress 7.2

Hooks & customisation

Login IP & Country Restriction 6.8.4 fires 4 actions and 7 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

login-ip-country-restriction — top hooks
// Action in login-restrict-country.php
do_action( 'sislrc_after_save_settings' );

// Action in login-restrict-country.php
do_action( 'sislrc_maybe_404_redirect' );

// Filter in login-restrict-country.php
apply_filters( 'assess_rule_by_type', $forbid, $country_code, $ip );

// Filter in login-restrict-country.php
apply_filters( 'check_rule_type_save', $opt['rule_type'] );

// Filter in login-restrict-country.php
apply_filters( 'describe_rule_by_type', $text );

// Filter in inc/setup-page.php
apply_filters( 'sislrc_display_pro_tabs', … );

Browse all 11 hooks with examples →

Login IP & Country Restriction: frequently asked questions

Is Login IP & Country Restriction free?

Yes. Login IP & Country Restriction is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Login IP & Country Restriction safe to use?

Login IP & Country Restriction is actively maintained: the latest version was released 1 month ago. Users rate it 4.6 out of 5 from 52 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Login IP & Country Restriction work with WordPress 7.1?

Yes. Login IP & Country Restriction is tested up to WordPress 7.2, the current release. It requires WordPress 5.1 or later and PHP 7.4 or later.

How many websites use Login IP & Country Restriction?

Login IP & Country Restriction is active on 8,000+ WordPress sites, according to WordPress.org. It is currently at version 6.8.4, last updated on October 21, 2026.

What are the best alternatives to Login IP & Country Restriction?

Plugins that do a similar job and are actively maintained include Country Based Restrictions for WooCommerce (5,000+ installs).

Can I customise Login IP & Country Restriction without editing its code?

Yes. Login IP & Country Restriction 6.8.4 fires 4 actions and 7 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 11 hooks with examples.

Done for you

Need Login IP & Country Restriction to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Login IP & Country Restriction customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Iulia Cazan. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 22, 2026.

More plugins by Iulia Cazan

All 7 →

Advanced management for images, register new sub-sizes, sub-sizes details, regenerate and cleanup files.

7,000+ installs Updated 2 months ago 22 hooks

The "Latest Post Shortcode" allows you to create a dynamic content selection from your posts by combining, limiting, and filtering…

4,000+ installs Updated 8 months ago 40 hooks

Make your site header sticky, use your custom colors, minify and change the header size and colors on page scroll.

600+ installs Updated 1 month ago 7 hooks

Log all emails send through your WordPress website, edit SMTP settings, change/add recipients, or disable outgoing emails.

600+ installs Updated 6 months ago 2 hooks

Alternatives in Membership & Users

See all →

Change wp-login.php to anything you want.

2+ million installs Updated 2 weeks ago 5 hooks
Loginizer icon

Loginizer

1,034

Loginizer is a WordPress security plugin which helps you fight against bruteforce attacks.

1+ million installs Updated 5 days ago 17 hooks
Reviewed

User Role Editor WordPress plugin makes user roles and capabilities changing easy. Edit/add/delete WordPress user roles and capabilities.

700,000+ installs Updated 1 week ago 49 hooks

Password protect your WordPress site with one password. Control access, whitelist trusted IPs, and monitor password activity.

300,000+ installs Updated 6 days ago 63 hooks