WordPress.org

China 简体中文

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

Plugin Directory

WP-Login and WP-Admin Whitelist

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

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP-Login and WP-Admin Whitelist

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

描述

A Plugin That only allows whitelisted IP’s, or optionally whitelisted browsers, to access wp-login.
This plugin does Not effect front-end login plugins.
If an IP is not whitelisted, the wp-login page will be killed and replaced with a message saying “your IP/Browser is not whitelisted”, or optionally redirect the user to 404 page instead.

A better way to hide wp-login. You can add a list of admin IP’s to this plugin, where you want to allow usage of wp-login.
Even if you have other users that login, its better to use another plugin for a more secure front end login, and this plugin will only allow a specific list of IP’s to access the wp-login page.
You can also (optionally) have this plugin attempt to redirect anyone to 404 page, if they try and access wp-login without the right IP.
You can also choose to disable the 404 redirect, and instead tell users there IP is not whitelisted, and that they should contact the admin if this is in error.
The plugin does Not block wp-admin, so once logged in, you can still edit your site on the go.
The plugin also has an option to whitelist your favorite common browsers to wp-login. This means you can keep users from accessing the wp-login page, simply because there using Internet Explore, and not what you chose to allow.
There is another option (which may return false positives), that attempts to check if the source of an IP is commonly used by a proxy server, and can block proxy IP’s to try and reduce spoofing.

屏幕截图

  • the Swiftninjapro wp-login Whitelist IP settings

安装

  1. Upload plugin to the /wp-content/plugins
  2. Important: Make sure you have cpanel or filezilla working and connected to your website, so if you forget to add your IP and get locked out of wp-login, you can disable the plugin
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Add your IP to the list of whitelisted IP’s in Swiftninjapro wp-login Whitelist IP settings (the admin settings page will tell you your Current IP)
  5. Check the setting “Plugin Enabled” To Enable wp-login Whitelist IP And Click Save

常见问题

What do I do if I forgot to add my IP to the whitelist and can Not access wp-login

To reactivate the plugin: (requires version 1.10 or later)
1. on your site, go to: /admin-login-whitelist-recovery
2. enter the page password “gHxXeVwvuz6Cez3” (You will still need to verify disabling the plugin through an admin email)
3. follow the directions on that page
After that, the plugins “Enabled” setting will be disabled, and the plugin will not run, and settings will still be accessible.
Note: The email must be an admin users email. The email will also be rejected if the account is less than a week old.

If that fails, you can do 1 of 2 things:
1. Contact your host, and ask them to disable the plugin manually
2. Use FTP, Filezilla, or cpanel, then (click “File Manager”, if using cpanel) navigate to public_html/wp-content/plugins, then find the folder “swiftninjapro-wp-login-whitelist-ip” and rename it to “swiftninjapro-wp-login-whitelist-ip-off” to disable the plugin.

Does this work on wp-login even if I change the name with other plugin

yes, this plugin uses wordpress functions wp_login_url(), wp_registration_url(), etc. to get an accurate url based on what your website uses.

Does this block plugins from logging in users through front-end

no. only the backend wp-login is blocked, you can still use a front end login for your users if you want to.
note: if your front end login plugin uses wp-login, you will need to enable a setting in this plugin, for your front end login plugin to work.

what happens to a user if there IP is not whitelisted

The plugin will kill the wp-login url for non-whitelisted IP’s, and (optional by the admin) display a message saying there IP is not whitelisted, or redirect them to the 404 page.
The plugins displayed message will also suggest a blocked user contact the admin if the block was in error.

评价

此插件暂无评价。

贡献者及开发者

「WP-Login and WP-Admin Whitelist」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • SwiftNinjaPro

帮助将「WP-Login and WP-Admin Whitelist」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.10

Moved recovery page to front end (password protected)

1.9

Added recovery page in case ip not whitelisted (requires admin)

1.8.1

Updated Function to detect browser
Usage of new Function can be enabled in the plugin settings

1.8

Added option to add wp-admin whitelist

1.7.2

Modified block message shown when 404 redirect option is disabled
– no longer mentions existence of a plugin
– now provides debug suggestions (like changing wifi network or using a different browser)
Settings page now grabs admin url from a wordpress function to provide better compatibility with plugins that may change the admin url

1.7

Improved compatibility with plugins that use wp-login redirects
This new compatibility can be enabled in settings and is optional

1.6

Browser Detection Now Includes Microsoft Edge
Microsoft Edge no longer returns as Google-Chrome

1.5.3

Added option to block common proxy server IP’s

1.5.2

bug fix
fixed small php error where multi-line ip list was getting phrased weird and invisible encoding for extra lines (added by default from a common php function) was causing a difference between the userIP and the ip whitelist
ip list now recognizes multiple ip’s in a list

1.5

plugin now (optionally) kills the page and displays a message instead of sending a non-whitelisted user to a 404 page

1.4

changed the settings layout
updated option names
organized naming system
reorganized plugin layout

1.3.2

bug fix

1.3

Added Option To Whitelist Browser

1.2

put settings under a tab which will be shared with other plugins by SwiftNinjaPro
this will help reduce the space taken up in admin menu if you use multiple plugins by SwiftNinjaPro 😀

1.1.1

bug fix

1.0

First Version

额外信息

  • 版本 1.11.1
  • 最后更新:5 年前
  • 活跃安装数量 10+
  • WordPress 版本 3.0.1 或更高版本
  • 已测试的最高版本为 5.5.15
  • PHP 版本 5.2.4 或更高版本
  • 语言
    English (US)
  • 标签
    loginsecuritywhitelistwp loginwp-admin
  • 高级视图

评级

尚未提交反馈。

添加我的评价

查看全部评论

贡献者

  • SwiftNinjaPro

支持

有话要说吗?是否需要帮助?

查看支持论坛

捐助

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

捐助此插件

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

China 简体中文

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