跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

LoginHush – Private Login URL & Access Guard

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

LoginHush – Private Login URL & Access Guard

由 jayanta77 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

LoginHush replaces the public WordPress login address with a private path without renaming core files. Its optional security layer uses transients for active rate limits and one compact indexed table for the activity log. On Apache sites using Plain permalinks, it maintains one narrowly scoped rule inside a dedicated LoginHush section of .htaccess.

The plugin starts disabled after activation. An administrator must test the candidate path successfully in the browser before protection can be enabled. This prevents the most common accidental lockout scenario.

Features

  • Custom private login path.
  • Clean login paths on Apache even when WordPress Plain permalinks are selected.
  • Safe query-string fallback when a clean-path rule cannot be installed.
  • Blocks direct access to wp-login.php and logged-out access to wp-admin.
  • Choose a real 404 response or a safe local redirect for blocked requests.
  • Browser-based safety test before enabling a new path.
  • Random path generator and collision checks.
  • Preserves AJAX, admin-post, cron, REST, XML-RPC, WP-CLI, post-password, and WordPress recovery-mode requests.
  • Rewrites WordPress-generated login, logout, registration, and password-reset URLs.
  • WP-CLI status, URL, path-change, enable, and disable commands.
  • wp-config.php emergency bypass.
  • Page-cache detection warning.
  • Configurable failed-login rate limiting with progressive temporary lockouts.
  • Optional login honeypot.
  • Throttled email and signed generic webhook alerts.
  • Privacy-friendly activity log with automatic retention cleanup.
  • Trusted-proxy configuration for Cloudflare and other reverse proxies.
  • IPv4/IPv6 allowlist, denylist, and CIDR support.
  • Clean uninstall.

Security scope

Changing the login URL and limiting failed attempts reduce common automated login traffic. They are defensive layers, not replacements for strong passwords, software updates, or two-factor authentication.

LoginHush does not block XML-RPC authentication. When activity logging is enabled, it stores masked IP addresses, site-salted hashes, event metadata, and hashed login identities for the configured retention period. Raw IP addresses and usernames are not stored in the log. Email and webhook connections occur only when explicitly enabled.

WP-CLI

  • wp loginhush status
  • wp loginhush url
  • wp loginhush set-slug new-private-path
  • wp loginhush enable
  • wp loginhush disable

螢幕擷圖

安裝方式

  1. Upload the loginhush-private-login-url-access-guard folder to /wp-content/plugins/ or install the ZIP from Plugins > Add New.
  2. Activate LoginHush.
  3. Open Settings > LoginHush.
  4. Choose or generate a private path.
  5. Select “Test this path” and wait for the success message.
  6. Enable protection, save, and bookmark the private URL.
  7. If page caching is active, exclude the private path from the page cache.

常見問題集

I forgot the private URL. How do I recover access?

Use wp loginhush url with WP-CLI. To disable protection, run wp loginhush disable.

Without WP-CLI, add this line above the “stop editing” line in wp-config.php:

define( 'LOGIPRLO_DISABLE_PROTECTION', true );

The standard wp-login.php URL will work while that constant is true. You can also deactivate the plugin by renaming its folder.

Does LoginHush modify WordPress files or .htaccess?

It never modifies WordPress core files. On Apache sites using Plain permalinks, it adds a dedicated LoginHush marker containing only the configured private-path rule. The marker is updated when the path changes and removed on deactivation or uninstall.

Does this stop every brute-force attack?

No. It reduces traffic aimed at the standard browser login URL. Use it with strong passwords, rate limiting, and two-factor authentication where appropriate.

Does it work with caching plugins?

The private login path must not be page-cached. LoginHush displays a warning when it detects common page-caching configurations, but cache exclusions remain provider-specific.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈LoginHush – Private Login URL & Access Guard〉的開發相關工作。

參與者
  • jayanta77

將〈LoginHush – Private Login URL & Access Guard〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.5.1

  • Prefixed all variables assigned in included templates and multisite uninstall scope for Plugin Check compliance.

1.5.0

  • Matched the text domain and package folder to the assigned WordPress.org slug.
  • Replaced all collision-prone declarations, stored-data keys, hooks, handles, and request parameters with the unique logiprlo_ prefix.
  • Updated the WordPress.org contributor username to jayanta77.

1.4.0

  • Prepared the plugin branding and packaging for WordPress.org submission.

1.3.4

  • Added the declared translation directory for plugin-header validation.
  • Removed the obsolete manual translation loader on modern WordPress.
  • Safely prepared the custom-table identifier during uninstall.

1.3.3

  • Moved all toggle checkboxes to the left of their labels and descriptions.

1.3.2

  • Added consistent spacing between standalone setting labels and their controls.

1.3.1

  • Kept every contextual-help icon inline immediately after its label text.

1.3.0

  • Added lightweight contextual help tooltips throughout the Protection settings.
  • Tooltips support mouse hover, keyboard focus, and touch focus without JavaScript.

1.2.2

  • Moved the activity-log checkbox to the left of its label and description.

1.2.1

  • Fixed the activity-retention checkbox stretching across the settings card.

1.2.0

  • Added configurable failed-login rate limiting and progressive lockouts.
  • Added an optional honeypot, email alerts, and signed generic webhooks with throttling.
  • Added privacy-friendly activity logging with retention cleanup.
  • Added trusted-proxy handling and IPv4/IPv6 allowlist and denylist rules.
  • Added focused Access, Protection, and Activity settings tabs.

1.1.0

  • Added clean private login paths for Apache sites using Plain permalinks.
  • Added scoped .htaccess rule installation, update, deactivation, and error reporting.
  • Retained the query-string route as a fallback when clean rules are unavailable.

1.0.2

  • Fixed undefined login-controller variables after logout when WordPress debugging output is enabled.
  • Prevented PHP warning markup from appearing inside the login username field.

1.0.1

  • Fixed first-time enabling being reverted by WordPress’s second settings-sanitization pass.
  • Prevented duplicate success and safety-test error notices after saving.

1.0.0

  • Initial release.

中繼資料

  • 版本 1.5.1
  • 最後更新 2 個月前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.5 或更新版本
  • 已測試相容的 WordPress 版本 7.0.5
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    custom login urlhide loginloginsecuritywp-admin
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • jayanta77

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.