About this plugin
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 three options available to use:
- IPStack (now part of APILayer): https://ipstack.com
- IPGeolocation: https://ipgeolocation.io
- OpenLiteSpeed’s local GeoIP variables
Please note: an active API Key is required for IPStack and IPGeolocation 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.
org/config/advanced/geolocation/#enabling-geolocation
com). The plugin continues to use the existing IPStack API endpoint and access-key format; it does not migrate accounts or credentials to a different API. External requests require HTTPS.
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. io as the geolocation providers. org/config/advanced/geolocation/#enabling-geolocation