plugin-icon

LoginHush – Private Login URL & Access Guard

作者:jayanta77·
Conceal the standard WordPress login endpoints behind a tested private URL with reliable recovery controls.
版本
1.5.1
最后更新
Aug 7, 2026
LoginHush – Private Login URL & Access Guard

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
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.3
这个插件是可用的下载,适用于您的站点。