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

  1. Open AdminEase › Security › General. Find Custom Login URL.
  2. Choose the Login Address. Letters a to z, numbers and dashes only. The field shows the full new address.
  3. 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

SettingWhat it doesDefault
Custom Login URLMoves the login page to the address below.Off
Login AddressThe new login address, after your site address.Empty

What happens behind the scenes

Requirements and the way back

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.