Iulia CazanIulia Cazan
  • Home
  • My Plugins
    • Image Regenerate & Select Crop
    • Latest Post Shortcode
    • WPINS – Custom Google Maps for WordPress
    • Sticky Header 2020
    • Login IP & Country Restriction
    • Easy Populate Posts
    • Emails Catch All
    • Easy Replace Image
  • Tips & Tricks
  • Shop
  • Contact
    • Login
  • Home
  • Shop
  • Login IP & Country Restriction PRO
Login IP & Country Restriction PRO

Login IP & Country Restriction PRO

€ 10.00

This plugin allows you to restrict the users’ login to specific IPs or countries, and also to bypass the restrictions for specific roles, or specific users, for better WordPress security. This integrates seamlessly with WooCommerce and auto-adapts to new customers.

  • Description
  • License Details
  • Additional information

Description

This plugin allows you to restrict the login on your website, based on the custom rules you apply. This helps with tightening your website security and fights against dictionary bot attacks originating from other countries, by denying access.

By default, upon activation, the plugin does not apply any restriction. You can configure the plugin to allow the login only from specified IPs or from specified countries. Additionally, the plugin allows for redirects to the front page when the default “Login” and “Register” URLs are accessed by someone that has a restriction. You can also specify other custom URLs to be redirected to the front page as well, following the same restriction rules.

The PRO version includes other useful features.

  • Rule Type
  • IP Restriction
  • Country Restriction
  • Redirects
  • Other Settings

 

Rule Type

Login Restriction Rules

The login filter can be configured to work in a different way, depending on what type of rules to be assessed and in which order.

  • Allow login only for allowed countries or allowed IPs
  • Block login only for blocked countries or blocked IPs
  • Allow login only for allowed countries or allowed IPs, but not from blocked IPs
  • Allow login only for allowed countries or allowed IPs, but not from blocked IPs or blocked countries
  • Block login only for blocked countries or blocked IPs, but not for allowed IPs
  • Block login only for blocked countries or blocked IPs, but not for allowed IPs or allowed countries

Login Restriction Rules

Filter XML-RPC authenticated methods

This new option controls whether XML-RPC methods requiring authentication (such as for publishing purposes) are enabled or not. This option does not interfere with pingbacks or other custom endpoints that don’t require authentication. There are 3 options:

  • Default
  • Disable all
  • Disable only when matching a restriction rule

Filter XML-RPC authenticated methods


 

IP Restriction

If you chose to set a login restriction by IP, then you have to add your own IP to the list. This is done automatically starting with version 6.0. 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.

Starting with version 6.0, the plugin has new options for blocking specific IPs.

IP Restriction


 

Country Restriction

The plugin allows for selecting the countries from where the login would be allowed and also selecting the countries from where the login to be blocked.

Country Restriction


 

Redirects

You can use redirects to the front page when the URLs are accessed by someone that has a restriction, for the login page, the registration page, and other specified URLs.

Redirects


 

Other Settings

Redirect Restricted Login

When the user attempts to authenticate, and the account is restricted either by IP or country, if the role is not in the list of bypassed roles, then the user will see a plain “Forbidden!” message. If you enable this option, the page will redirect to your “404” page instead of that or will display a the forbid message that can be customized.
There are two options:

  • Header 404 – Redirect the visitor to the site’s “Not Found” page.
  • Header 403 – Show “Forbidden Access” and the custom message.

Redirect Restricted Login

Lockout duration

When a user attempts to authenticate and the restriction kicks in, the user will not be able to login in the next hour (the default duration is 60 minutes). You can change the lockout duration if necessary.

Lockout duration

Individual lockout

If for various reasons, you need to temporarily disable the login for a specific user, you can enable this option. With the setting on, you can edit the user account(s) you wish to restrict. You will see the list of restricted users on the plugin settings page.

Don’t worry, you can revert this option at any time. If you need to grant access back to all the user accounts you restricted, just uncheck the individual logout option in the settings.

Individual lockout settings Individual lockout info in users listing
Individual lockout in edit user screen

WooCommerce Integration

With this setting, you can instruct Login IP & Country Restriction plugin to auto-adapt to new customers on your WooCommerce shop, so that their country to automatically be added to the list of allowed countries. This grants them login access right away.

WooCommerce Integration

Bypass the IP and country restriction for the specified roles

You have to option to bypass the login restriction that you put in place (based on the country or IP) for specific user roles.

This is useful for online shops, where your customers place orders then authenticate on your website. This happens from various locations that might not be included in the allowed IPs or countries filters, and using this feature would grant them access to their accounts right away.

Bypass the IP and country restriction for the specified roles

Single IP Login Per User

If this option is enabled, the users will be allowed only from the first IP they had when they first log in. Don’t worry, you can revert this option at any time, and also reset the IP for individual users.

Single IP Login Per User settings
Single IP Login Per User - edit user screen

Simulate IP and Country

Simulate IP and Country
Simulate IP and Country login

Temporarily disable all settings

If for various reasons, you need to temporarily disable all restrictions and any other settings of this plugin, you can use this option, without losing the current settings.

Temporarily disable all settings

Information about the restriction based on the combination of IP + country + rule type

Information about the restriction - allowed access
Information about the restriction - blocked access

License Details

Expiration Lasts for 1 year.
Limit Limited in the number of domains activated. Up to 1 domain allowed.
Development Developers support. Development environments (running on localhost) do not increase limit capacity, allowing this license to be used on production and development.

Additional information

Price is Valid for

1 website

Multiple Websites

Please purchase the plugin for every additional web domain.

Disclaimer

iuliacazan.ro offers WordPress plugins “as is” and with no implied meaning that they will function exactly as you would like or will be compatible with all 3rd party components and plugins. We do not offer support via email or other WordPress plugins we have not developed.

▩ SKU: SIRSC.05 ▩ Category: Premium Plugins ▩ Tags: Login IP & Country Restriction, Login Restriction, Plugin, Premium Plugin, Restrict Country, Restrict IP, Security, WordPress, WordPress Plugin, WordPress Security
« Sticky Header 2020 PROWPINS – Custom Google Maps for WordPress »
Premium plugins and extensions
Related articles
Tips & tricks, samples, tools
Premium plugins and extensions

Check out the latest premium plugins and extensions available in the mini-shop.

Premium plugins and extensions

WPINS – Custom Google Maps for WordPress • With this premium plugin, you can add beautiful Google Maps…

Uploads Inspector Premium Extension • Yearly License. This extension allows you to analyze the files from your uploads…

Login IP & Country Restriction PRO • This plugin allows you to restrict the users' login to specific…

Related articles

You might be interested also in these articles, tutorials and how to’s, details for both technical and non-technical people.

Related articles

Login IP & Country Restriction 6.0 • This plugin allows you to restrict the login on your website,…

How to Trim Strings and Keep HTML Tags – Snippet Included • There are a lot of methods…

Images Optimization for WordPress and Why Just Compressing Images Is Not Enough • Images optimization is a fascinating…

Tips & tricks, samples, tools

Check out other articles, code samples, downloadable snippets, tools and demos.

Tips & tricks, samples, tools

A Quick List of Checks & Actions to Perform Before Starting to Code • While working on various…

How to Setup a Local Development Environment in 5 Minutes • When you are working on diverse projects…

How to Integrate Google reCAPTCHA v3 in Forms that Use AJAX Validation • I recently had to update…

Iulia Cazan

Iulia Cazan

I am a full-stack developer and I love WordPress. Check out my plugins on WordPress.org

Iulia Cazan

  • Home
  • My Plugins
  • Tips & Tricks
  • Online Tools
  • Shop
  • My Travels
  • Privacy Policy
  • Contact
  • Terms & Conditions

Follow Me

I am a full-stack developer. I love WordPress and I enjoy creating custom web applications of all types.

© Copyright Iulia Cazan 2015-2020.

Iulia Cazan
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

3rd Party Cookies

This website uses Google Analytics to collect anonymous information such as the number of visitors to the site and the most popular pages. Keeping this cookie enabled helps us to improve our website.

Also, in some pages, we embed YouTube videos that can help with showing different features of our plugins.

Please enable Strictly Necessary Cookies first so that we can save your preferences!