Every WordPress site has its login form at /wp-login.php, so that is where bots send password guesses, all day, to every site. Moving the login to an address only your team knows means most bots never find a form at all. With one more setting, anyone who still tries the old address is banned on the first attempt.
Move it
- Open Keel › Login & accounts › Login page.
- Switch on Move the login page to a secret address.
- Type the new address in Login address: lowercase letters, numbers and dashes, for example
team-door-27. Avoid obvious words likeloginoradmin. - Copy the full new address, for example
https://yoursite.com/team-door-27, and save it in your password manager before you save the setting. - Save.
From now on, wp-login.php and /wp-admin show “not found” to visitors who are not logged in. You and your team log in at the new address. Logged-in users can still open /wp-admin normally.
Tell your team
Send everyone who logs in the new address, and update bookmarks, documentation and any tools that link to the login page. Password reset emails automatically use the new address.
Ban anyone who still uses the old address
Once the login is hidden, your real users never send a username and password to wp-login.php again. So anyone who does is a bot or an attacker. In Firewall › Failed logins & bans, switch on Ban for good anyone who tries to log in on wp-login.php. They are banned on the first attempt. Simply opening the old address still counts as a failed login, so persistent visitors are blocked too. Addresses in your Always allow list are never banned.
Two small settings on the same screen
- Don’t reveal which part of the login was wrong: shows “Login failed.” instead of “unknown username” or “wrong password”, so attackers cannot find out which usernames exist.
- Show your logo on the login page: uses the logo from SEO › Site identity and links it to your home page instead of WordPress.org.
Other login forms
Shop and membership logins, like the WooCommerce “My account” page, are separate forms on normal pages. They keep working at their usual address. Protect them with form protection and the failed-login limits, which count them too.
Forgot the address?
- Open
wp-config.phpwith your host’s file manager or FTP. - Add this line above
/* That's all, stop editing! */:
define( 'KEEL_DISABLE_CUSTOM_LOGIN', true );
- Log in at
/wp-login.php, look up the address in Login & accounts › Login page, then remove the line.
Things to check after moving the login
- Uptime monitors that check
wp-login.phpwill report the site as down. Point them at the home page. - A few old plugins hard-code
wp-login.phpin their own links. If a link sends you to “not found”, use the new address directly.
Every setting on this screen
The same explanations you see next to each setting in Keel.
Keel › Login & accounts › Login page
| Setting | What it does |
|---|---|
| Move the login page to a secret address | wp-login.php and /wp-admin show "not found" to visitors, so bots cannot even find the login. Copy the new address before saving. Locked out? Add define( 'KEEL_DISABLE_CUSTOM_LOGIN', true ); to wp-config.php. |
| Login address | Lowercase letters, numbers and dashes. |
| Show your logo on the login page | Uses the logo from SEO > Site identity and links it to your homepage instead of wordpress.org. |
| Don't reveal which part of the login was wrong | Shows "Login failed." instead of "unknown username" or "wrong password", so attackers cannot find out which usernames exist. |