跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

Khushal Login Path Guard

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

Khushal Login Path Guard

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

描述

Khushal Login Path Guard is a WordPress security plugin that allows you to change your default login URL and protect your site from common attack vectors. The plugin blocks brute-force attempts, prevents user enumeration, secures sensitive files, and hides WordPress information from potential attackers. All blocked paths display 404 errors (Stealth Mode) instead of redirects, making your site invisible to attackers.

Features

Login Protection:
* Blocks 17+ common brute-force login paths
* Custom login URL (only you know the path)
* Shows 404 error instead of redirect (no hints to attackers)
* Protects /wp-admin, /login, /wp-login.php and more

Advanced Security:
* Blocks XML-RPC (prevents brute-force via API)
* Prevents user enumeration via REST API
* Blocks author page enumeration (?author=1)
* Protects wp-config.php and sensitive files
* Blocks direct access to wp-includes PHP files
* Removes WordPress version information

Security Headers:
* X-Frame-Options (prevents clickjacking)
* X-Content-Type-Options (prevents MIME sniffing)
* X-XSS-Protection (XSS attack protection)
* Referrer-Policy (privacy protection)
* Permissions-Policy (feature restriction)

User-Friendly:
* Easy settings interface
* One-click URL copy
* Normal functionality for logged-in users
* Does not block AJAX requests
* Clean admin interface

Security Benefits

  1. Brute Force Protection – 15+ login paths blocked
  2. XML-RPC Disabled – Prevents API-based attacks
  3. User Enumeration Blocked – Hides usernames from attackers
  4. Sensitive Files Protected – wp-config.php, .htaccess secured
  5. Security Headers – Industry-standard HTTP headers
  6. WordPress Hidden – Removes version and generator tags

इस्तेमाल करना बेहद आसान है

  1. Plugin activate करें
  2. Settings > Login Path Security में जाएं
  3. अपना custom login path enter करें
  4. Settings save करें
  5. नया login URL use करें

屏幕截图

  • Settings page – Configure custom login path
  • New login URL display – Your secure login URL
  • Security features overview

安装

  1. Upload the plugin folder to /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress admin
  3. Go to Settings > Login Path Security to configure

OR

  1. Go to Plugins > Add New in WordPress admin
  2. Search for “Khushal Login Path Guard”
  3. Install and Activate

常见问题

What if I forget my login URL?

You can rename or delete the /wp-content/plugins/khushal-login-path-guard/ folder via FTP or cPanel. This will deactivate the plugin and you can login using the normal wp-login.php.

Will this plugin slow down my site?

No, this plugin is very lightweight and will not affect your site’s performance.

Will wp-admin work for logged-in users?

Yes, everything will work normally for users who are already logged in.

Does this work with multisite?

Yes, this plugin is multisite compatible.

Will AJAX requests be blocked?

No, WordPress AJAX requests will work normally.

评价

Best wp login security plugin

umang3640 2025 年 12 月 24 日
one of the best security plugin in wp also free plugin so this is very helpful me this plugin.
阅读所有1条评价

贡献者及开发者

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

贡献者
  • Khushal Tank

帮助将「Khushal Login Path Guard」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

2.4.1

  • Fixed wp-admin redirect issue – now shows 404 when logged out
  • Added multiple layers of protection for wp-admin access
  • Improved logout functionality
  • Enhanced user experience

2.4.0

  • Changed wp-admin behavior – shows 404 instead of redirect when logged out
  • Improved security by preventing information leakage
  • Better stealth mode implementation

2.3.3

  • Fixed dashboard access after login
  • Removed wp-admin from directory blocking
  • Improved logged-in user detection

2.3.2

  • Fixed wp-admin access timing issue
  • Changed hook from ‘init’ to ‘wp’ for better authentication detection
  • Improved compatibility

2.3.1

  • Fixed logout functionality
  • Added proper logout URL filtering
  • Improved redirect handling

2.3.0

  • Added logout redirect to custom login page
  • Enhanced logout URL handling
  • Improved user experience

2.2.5

  • Fixed wp-admin directory access
  • Removed wp-admin from blocked directories list
  • Improved functionality for logged-in users

2.2.4

  • Fixed login.php blocking
  • Added admin-login.php and adminlogin.php to blocklist
  • Updated blocked paths count

2.2.3

  • Fixed undefined variable warnings
  • Initialized all required wp-login.php variables
  • Improved login page compatibility

2.2.2

  • Added comprehensive login path blocking
  • Added /login, /signin, /administrator paths to blocklist
  • Updated admin interface

2.2.1

  • Changed redirect behavior to show 404 error
  • Removed redirect URL setting
  • Enhanced security by hiding WordPress

2.2.0

  • Added XML-RPC blocking
  • Added REST API user enumeration protection
  • Added author page enumeration blocking
  • Added sensitive file protection
  • Added wp-includes PHP file protection
  • Added comprehensive security headers
  • Expanded blocked login paths

2.0.0

  • Major security update
  • Added multiple security features
  • Enhanced protection mechanisms

1.0.0

  • Initial release
  • Custom login path functionality
  • wp-login.php and wp-admin protection
  • Admin settings interface
  • Basic security features

额外信息

  • 版本 2.4.1
  • 最后更新:11 小时前
  • 活跃安装数量 不到10
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 7.0
  • PHP 版本 7.0 或更高版本
  • 语言
    English (US)
  • 标签
    Brute Forceloginsecurityuser enumerationxmlrpc
  • 高级视图

评级

5 星(最高 5 星)。
  • 1 条 5 星评价 5 星 1
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • Khushal Tank

支持

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

查看支持论坛

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

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.