
內容簡介
這個外掛可以禁止訪問 https://example.com/wp-login.php,並建立新的 URL,例如 https://example.com/login 或 https://example.com/logout。
這是防止機器人密碼破解的好方法。當然,新的 URL 更容易記憶。
還要記住:使用這個外掛並不代表您可以使用簡單的密碼。而且,千萬不要使用“admin”作為登錄名,這是機器人的第一個嘗試。
如果您正在尋找完整的安全解決方案,請參考 SecuPress:其中包含了 Move Login 外掛。
多站點
是的!這個外掛必須從您的網路中啟用。
注意1:這個外掛只處理 wp-login.php,不處理 wp-signup.php 或 wp-activate.php(目前還沒有)。這意味著 https://example.com/register 仍會重定向到 https://example.com/wp-signup.php。我想這將是下一步,但沒有預計完成時間。
注意2:如果使用者/站點的註冊是開放的,那麼您還不應該使用這個外掛。有些地方的登錄地址是硬編碼的且無法篩選。已經有一個 錯誤報告。
需求
從版本 2.4 開始,需要至少 PHP 5.3。
您需要 FTP 存取權限:如果 .htaccess/web.config 文件不可寫(您需要手動添加給定的規則),或者如果出現問題,您無法再次登錄(請參考常見問題解答)。
應該可以在 IIS7+ 伺服器上運行,但未經測試(我想您應該在啟用外掛之前先備份 web.config 文件)。
對於 Nginx 伺服器,重寫規則當然不會自動寫入,但它們提供為外掛設置頁面中的資訊。
外掛標籤
開發者團隊
原文外掛簡介
Move Your Login Page
Tired of bots finding your WordPress login page? SP Move Login allows you to change your login URL to protect it from automated attacks and brute force attempts.
This plugin contains the Move Login module from SecuPress, a comprehensive WordPress security plugin. While this plugin focuses solely on moving your login page, the full SecuPress version includes many other security features such as:
Why move your login page?
By default, WordPress login pages are located at /wp-login.php and /wp-admin/, making them easy targets for bots and attackers. SP Move Login allows you to:
Change your login URL to a custom slug
Protect your registration page (if enabled)
Block access to the default login pages
Display custom error messages or redirect to a custom page when someone tries to access the old login URL
Features:
Simple and easy to use
Change your login URL with just a few clicks
Works with pretty permalinks
Compatible with multisite installations (includes Single Sign-On support)
Custom error messages for blocked access
Redirect to custom page option
Lightweight – focused solely on moving your login page
Note: This plugin requires pretty permalinks to be enabled. You can activate them in Settings > Permalinks.
For more advanced security features, check out the full SecuPress version.
