WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Login IP & Country Restriction

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Login IP & Country Restriction

作者:Iulia Cazan
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

This plugin hooks in the authenticate filter. By default, the plugin is set to allow all access and you can configure the plugin to allow the login only from some specified IPs or the specified countries. PLEASE MAKE SURE THAT YOU CONFIGURE THE PLUGIN TO ALLOW YOUR OWN ACCESS. If you set a restriction by IP, then you have to add your own IP (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). If you set a restriction by country, then you have to select from the list of countries at least your country. Both types of restrictions work independent, so you can set only one type of restriction or both if you want. Also, you can configure the redirects to frontpage when the URLs are accessed by someone that has a restriction. The restriction is either by country, or not in the specified IPs list.

License

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

屏幕截图

  • Login restriction rules and XML-RPC authenticated methods
  • IPs restriction: allow and block specific IPs
  • Countries restriction: allow and block specific countries
  • Redirect options
  • Export and import settings, status/debug details

安装

  • Upload Login IP & Country Restriction to the /wp-content/plugins/ directory of your application
  • Login as Admin
  • Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

None

评价

Great plugin

laszlobartucz 2025 年 10 月 2 日
We use a hosting service that oesn’t allow for easy country restrictions – this plugin is our saviour.

partially working

blackossian 2025 年 9 月 11 日
it seems it doesn’t block South Africa

Not working anymore

eevan79 2025 年 8 月 28 日
Edit: Rating changed because the add-on has been updated and now works. This plugin uses the geoplugin.net service, which is no longer free, so the plugin no longer works either. This is a message: “geoPlugin API is no longer available for free use. To continue access, please upgrade to a paid plan”

Simple but highly effective

mtido 2025 年 2 月 16 日
I had an increase in incorrect login attempts, it started with a few and then quickly escalated to over 600 per day. From another plugin came the hint with GEO blocking by IP, then I came across this plugin and then had everything blocked except for my own country. Finally only 1-2 per day. Thank you

Perfect match for my requirements

jenbodeu 2025 年 1 月 18 日
Perfect match for my requirements

This plugin needs an update

narubi 2024 年 7 月 17 日 1 回复
I have installed this plugin few months ago and it was working really well. However, in the last couple of days there have been many visits from the blocked countries to the wp login page. Please update the plugin IP database ASAP! Thanks!
阅读所有50条评价

贡献者及开发者

「Login IP & Country Restriction」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Iulia Cazan

「Login IP & Country Restriction」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Login IP & Country Restriction」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

6.8.0

  • Tested up to 6.8.2
  • Added more free IP lookup providers

See the changelog for detailed information on changes made in the earlier versions.

额外信息

  • 版本 6.8.0
  • 最后更新:2 月前
  • 活跃安装数量 7,000+
  • WordPress 版本 5.1 或更高版本
  • 已测试的最高版本为 6.8.3
  • PHP 版本 7.2 或更高版本
  • 语言

    English (US) 和 Romanian.

    翻译成简体中文

  • 标签
    block countryblock ipcountry restrictionlogin restriction
  • 高级视图

评级

4.6 星(最高 5 星)。
  • 41 5-star reviews 5 星 41
  • 3 4-star reviews 4 星 3
  • 3 3-star reviews 3 星 3
  • 2 2-star reviews 2 星 2
  • 1 1-star review 1 星 1

添加我的评价

查看全部评论

贡献者

  • Iulia Cazan

支持

最近两个月解决的问题:

总计 1,已解决 0

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗