Title: Login Gatekeeper
Author: learnhowwp
Published: <strong>2025 年 8 月 16 日</strong>
Last modified: 2025 年 8 月 16 日

---

搜索插件

![](https://ps.w.org/login-gatekeeper/assets/banner-772x250.png?rev=3345673)

![](https://ps.w.org/login-gatekeeper/assets/icon-256x256.jpg?rev=3345673)

# Login Gatekeeper

 作者：[learnhowwp](https://profiles.wordpress.org/themeythemes/)

[下载](https://downloads.wordpress.org/plugin/login-gatekeeper.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/login-gatekeeper/#description)
 * [评价](https://cn.wordpress.org/plugins/login-gatekeeper/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/login-gatekeeper/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/login-gatekeeper/#developers)

 [支持](https://wordpress.org/support/plugin/login-gatekeeper/)

## 描述

Login Gatekeeper adds an extra layer of security to your WordPress login page by
requiring a custom key and value in the login URL (e.g. `/wp-login.php?secret=myvalue`).
You can restrict which user roles require the key, helping to prevent brute force
and bot login attempts.

**Stealth Protection:**
 The plugin does not modify the appearance or behavior of
the default WordPress login page. Anyone accessing the login page without the correct
secret and value will see the standard WordPress error message, even if they enter
the correct username and password. This means attackers cannot detect that extra
protection is in place.

Easily configure your login key, value, and restricted roles from the WordPress 
admin settings page. The plugin also includes a risk confirmation step to prevent
accidental lockout.

**Lost your secret or value?**
 If you forget your login key or value, you can use
the default WordPress “Lost your password?” feature. The secret key and value will
be included in the password reset email, allowing you to regain access without needing
to disable the plugin.

**Features:**

 * Require a custom key/value in the login URL
 * Restrict login by user role
 * Easy-to-use settings page
 * Prevents brute force and bot login attempts
 * No visible changes to the login page for added stealth
 * Secret and value included in password reset email if forgotten

**Check Out Our Other Plugins**

 * [Divi Contact Form DB](https://wordpress.org/plugins/contact-form-db-divi/)
 * [Divi Overlay on Images Module](https://wordpress.org/plugins/overlay-image-divi-module/)
 * [Divi Post Carousel Module](https://wordpress.org/plugins/post-carousel-divi/)
 * [Divi Menu Cart Module](https://wordpress.org/plugins/menu-cart-divi/)
 * [Divi Flip Cards Module](https://wordpress.org/plugins/flip-cards-module-divi/)
 * [Divi Image Carousel](https://wordpress.org/plugins/image-carousel-divi/)
 * [Divi Breadcrumbs Module](https://wordpress.org/plugins/breadcrumbs-divi-module/)

## 屏幕截图

[[

## 安装

 1. Upload the plugin folder to `/wp-content/plugins/login-gatekeeper/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to **Settings > Login Gatekeeper** to configure your key, value, and roles

## 常见问题

### What happens if I forget my login key or value?

If you forget your login key or value, you can use the default WordPress “Lost your
password?” link on the login page. The password reset email will include your current
secret key and value, so you can regain access. If you lose access to your email,
you can still disable the plugin via FTP or your hosting file manager.

### Can I choose which user roles require the login key?

Yes, you can select which roles require the key from the plugin settings page.

### Is this compatible with custom login pages?

The plugin is designed for the default WordPress login page. Compatibility with 
custom login forms may vary.

### Will users know the plugin is active on the login page?

No. The plugin does not change the appearance or behavior of the login page. If 
someone tries to log in without the correct secret and value, they will see the 
default WordPress error message, even if their username and password are correct.
This helps keep your security measures hidden.

## 评价

![](https://secure.gravatar.com/avatar/dd8cef4c70bb3a14f5922eb54c92a8166947a303f44eb4a89a954cee4defad6f?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-17103/)󠁿

 [tinaponting](https://profiles.wordpress.org/ponting/) 2026 年 4 月 20 日

A Great small plugin, makes my log more Safer:)

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/login-gatekeeper/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ learnhowwp ](https://profiles.wordpress.org/themeythemes/)

[帮助将「Login Gatekeeper」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/login-gatekeeper)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/login-gatekeeper/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/login-gatekeeper/)，或通过[RSS](https://plugins.trac.wordpress.org/log/login-gatekeeper/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/login-gatekeeper/)。

## 更新日志

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**10 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/login-gatekeeper/)
 * 标签
 * [Brute Force](https://cn.wordpress.org/plugins/tags/brute-force/)[login](https://cn.wordpress.org/plugins/tags/login/)
   [login protection](https://cn.wordpress.org/plugins/tags/login-protection/)[security](https://cn.wordpress.org/plugins/tags/security/)
   [user roles](https://cn.wordpress.org/plugins/tags/user-roles/)
 *  [高级视图](https://cn.wordpress.org/plugins/login-gatekeeper/advanced/)

## 评级

 4 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/login-gatekeeper/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/login-gatekeeper/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/login-gatekeeper/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/login-gatekeeper/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/login-gatekeeper/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/login-gatekeeper/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/login-gatekeeper/reviews/)

## 贡献者

 *   [ learnhowwp ](https://profiles.wordpress.org/themeythemes/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/login-gatekeeper/)