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 http://www.mywebsite.com/wp-login.php to http://www.mywebsite.com/login
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$ http://www.yoursite.com/wp-login.php [NC,L]
Replace yoursite.com with your own domain name. Of course, you can perform this redirection with other URLs too.