跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

HSArticle Login Warden

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

HSArticle Login Warden

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

描述

Most “hide login” plugins only do one thing: change the URL of wp-login.php. HSArticle Login Warden does that too, but it’s built around a wider goal — make it harder for anyone to find or confirm who has access to your WordPress admin in the first place. Hiding the login form doesn’t help much if your usernames are still leaking out through three other doors, so HSArticle Login Warden closes those too, all as optional one-click toggles.

It doesn’t rename or modify any core files, and it doesn’t add rewrite rules — it simply intercepts requests for wp-login.php and /wp-admin and shows a 404 (or redirects) to logged-out visitors, while your chosen custom URL loads the real login form.

Custom login URL

  • Set any custom login URL slug
  • Choose what logged-out visitors see when they hit the old login page or /wp-admin: a 404 page, a redirect to your homepage, or a redirect to any custom URL
  • Your current login URL is always visible on the settings page with a one-click Copy button, so you never lose track of it
  • Built-in conflict check — you can’t accidentally set your login slug to something that collides with an existing page or post

Optional hardening toggles

  • Disable XML-RPC (xmlrpc.php) — a second, often-forgotten login door and a common brute-force target
  • Generic login error messages — stops WordPress confirming whether a failed login had a real username or not
  • Block username enumeration via ?author=1, ?author=2, etc. — stops one of the most common ways real usernames get discovered
  • Hide the /wp-json/wp/v2/users REST endpoint from logged-out requests — this lists every username on your site by default

None of these toggles track, log, or store anything about your visitors — they simply stop information from leaking out. All logged-in functionality (dashboard, admin, post editing) works completely normally; every toggle here only affects logged-out visitors.

Deactivating the plugin brings your site back to its default state immediately.

安装

  1. Go to Plugins > Add New.
  2. Search for “HSArticle Login Warden”.
  3. Install and activate.
  4. You’ll be redirected to Settings > HSArticle Login Warden — set your new login URL there and save.
  5. Bookmark your new login URL before you log out!

常见问题

I forgot my login URL!

Check the hsarlowa_settings row in your site’s wp_options database table, or deactivate the plugin (via FTP/file manager if needed) to restore the default wp-login.php URL.

Does this work with caching plugins?

Yes, but if you use a page-caching plugin, exclude your new login URL from the cache the same way you would for any dynamic page.

Will disabling XML-RPC break anything?

It will stop the classic WordPress mobile apps, the old XML-RPC based publishing tools, and some Jetpack features that rely on it from working. Most modern sites using the REST API instead are unaffected. Leave it unchecked if you’re unsure.

Will blocking ?author= links break my author archive pages?

No. Only the numeric query-string form (?author=1) is blocked for logged-out visitors. Normal pretty-permalink author pages (/author/yourname/) keep working exactly as before.

Will hiding the REST users endpoint break the block editor?

No. /wp/v2/users/me (used by the block editor for the currently logged-in user) is untouched. Only the endpoints that list every username to logged-out requests are hidden.

Will this break my site if I forget to bookmark the new URL?

No. Deactivating the plugin (via FTP/file manager if needed, by renaming the plugin folder) immediately restores the default wp-login.php URL.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者
  • hsarticle

帮助将「HSArticle Login Warden」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0.0

  • Initial release.

额外信息

  • 版本 1.0.0
  • 最后更新:1 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.6 或更高版本
  • 已测试的最高版本为 7.0.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    custom login urlhide loginlogin securitywp loginxmlrpc
  • 高级视图

评级

尚未提交反馈。

您的评价

查看全部评论

贡献者

  • hsarticle

支持

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

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • 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.