RC Geo Access Plugin RC Geo Access Plugin

RC Geo Access Plugin

Created by: Rick Curran

Rating:
Downloaded: 1k times

This plugin restricts access to the login page of your WordPress Admin based on the location of the user trying to access it. Restricting access in this way can be a useful way of reducing unwanted login attempts.
To get the location of the user the plugin gets the IP address of the user attempting to access the login page and geo-locates their location by using a geolocation API, currently there are two services available to use:

  • IPStack: http://ipstack.com
  • IPGeolocation: https://ipgeolocation.io

Please note: an active API Key is required for either of these this services for the plugin to function correctly. You can register a free account at either of the website addresses above. Please note they offer varying amounts of location API requests for their free and paid plans, it may be necessary to upgrade to a paid plan to provide an increased amount of requests if your site gets a huge amount of login attempts.

Example usage:

Enable the plugin and access the “RC Geo Access” page in the Settings menu in your WordPress Admin to configure the required settings. Note: an active API Key is required for this plugin to function, currently there are two services available to use, you can choose from either ‘IPStack’ – http://ipstack.com and ‘IPGeolocation’ – https://ipgeolocation.io as the geolocation providers.

Screenshots

  • This screen shot shows the administration page for the "RC Geo Access" plugin in the WordPress backend
  • This screen shot shows an example output shown when someone is prevented from accessing the login page

Categories

Get New Themes & Resources