跳到内容

RC Geo Access

v1.50

Rick Curran · 2018年10月8日 上架

This plugin restricts access to the login page of your WordPress Admin based on the location of the user trying to access it.

正在使用
10+
评分
5.0 / 5
累计下载
2,343
最近更新
2026年10月28日
1 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 8.0+

贡献者

截图

This screen shot shows the administration page for the "RC Geo Access" plugin in the WordPress backend
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
This screen shot shows an example output shown when someone is prevented from accessing the login page

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. The OpenLiteSpeed’s local GeoIP variables option can be used if you are using OpenLiteSpeed server and have a properly configured geolocation database, more information about configuring that is available here: https://docs.openlitespeed.org/config/advanced/geolocation/#enabling-geolocation

IPStack is now part of APILayer (https://apilayer.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. Note: an active API Key is required for this plugin to function, currently there are two external Geolocation services available to use, you can choose from either ‘IPStack’ – https://ipstack.com and ‘IPGeolocation’ – https://ipgeolocation.io as the geolocation providers. The OpenLiteSpeed’s local GeoIP variables option can be used if you are using OpenLiteSpeed server and have a properly configured geolocation database, more information about configuring that is available here: https://docs.openlitespeed.org/config/advanced/geolocation/#enabling-geolocation

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums