Part of the guide: Hardening WordPress security with AdminEase
Custom Login URL lets you change the WordPress login URL from /wp-login.php to an address you choose. Bots that try thousands of passwords on /wp-login.php find nothing. It is part of the free AdminEase plugin.
What this feature does
Every login link WordPress builds (login, logout, lost password, password protected posts, emails) is rewritten to the new address. For visitors who are not logged in, the old address and /wp-admin answer 404.
How to change the WordPress login URL
- Open AdminEase › Security › General. Find Custom Login URL.
- Choose the Login Address. Letters a to z, numbers and dashes only. The field shows the full new address.
- Bookmark the new address, then turn it on and save. Purge your page cache afterwards, so no cached page still links to the old login.
Settings reference
| Setting | What it does | Default |
|---|---|---|
| Custom Login URL | Moves the login page to the address below. | Off |
| Login Address | The new login address, after your site address. | Empty |
What happens behind the scenes
It needs pretty permalinks and does not run on multisite. If you forget the address, add define( 'ADMINEASE_DISABLE_LOGIN_URL', true ); to wp-config.php, or rename the AdminEase plugin folder, and log in at /wp-login.php again.
Troubleshooting
The new address shows a 404
Check that pretty permalinks are on in Settings › Permalinks. Plain permalinks are not supported.
A page still links to wp-login.php
A cached copy of the page is being served. Purge your page cache.

