Skip to content

How To Hide WordPress Login URL

When we set up a WordPress site for our client, we don’t want our clients to mess around with WordPress’ default login URL – wp-login.php. It’s bit hard for non-WP people to remember these URLs, so we want to give him an easy login URL.

So we are going to change the URL to

It’s clean, simple & much easier to remember. So how much coding we need for it? – Just a single line!

Just add following line to the .htaccess file in the root folder of your website:

RewriteRule ^login$ [NC,L]

Replace with your own domain name. Of course, you can perform this redirection with other URLs too.