內容簡介
總結:這個 WordPress 外掛可保護 wp-login.php 和 wp-admin 檔案。透過更改登錄頁面的 URL,使得潛在攻擊者更難以找到和攻擊你的網站,並且可隱藏與更改登錄頁面的 URL。
問題與答案:
問:這個 WordPress 外掛可以幫助我做什麼?
答:這個 WordPress 外掛可以保護你的 wp-login.php 和 wp-admin 檔案。透過更改登錄頁面的 URL,使得潛在攻擊者更難以找到和攻擊你的網站,可隱藏與更改登錄頁面的 URL。
問:如果登錄頁面的 URL 被更改,我該如何進入登錄頁面?
答:記得新的 URL 或將其儲存為書籤,以便你可以自己存取登錄表單。如果你決定停用外掛,你的網站將被還原到之前的狀態,沒有任何修改。
問:如果我忘了新的登錄頁面 URL,我該怎麼辦?
答:你可以使用 SFTP / SSH 來停用外掛,以便恢復原始的登錄頁面 URL。
外掛標籤
開發者團隊
② 後台搜尋「Login Security – Custom Login URL」→ 直接安裝(推薦)
原文外掛簡介
Bots hammer /wp-login.php on almost every WordPress site. This plugin moves the login form to an address only you know, for example example.com/my-door/, and answers requests to the default entry points with a regular 404 page of your theme.
Features
Choose any login URL – letters, numbers, hyphens and underscores.
wp-login.php, wp-register.php and /wp-admin/ return a real 404 status for logged-out visitors (no white screen, no redirect that gives the new URL away).
WordPress’ shortcuts /login, /admin and /dashboard no longer reveal the login.
Password reset, registration, logout and e-mail links automatically use the new URL.
Works with and without pretty permalinks. Your permalink settings are never touched.
Collision check: the plugin refuses slugs that are already used by WordPress, a page or a post.
Emergency switch: define( 'LSFW_DISABLE', true ); in wp-config.php.
No database tables, no rewrite rules, no tracking. Uninstall removes all options.
Why hide the login at all?
Honest answer: a hidden login is no replacement for strong passwords, two-factor authentication or a login limit. Its value is different – automated attacks stop hitting your login form, which means less server load, fewer lockouts of real users and cleaner logs. It is especially handy on sites with customer accounts where a .htaccess password is not an option, and it gives your customers a nicer login address. Combine it with 2FA for real protection.
Settings
Settings → Login Security
