How to Change the Default WordPress Login URL

Have you ever wanted to change the default WordPress login URL to something friendly and easy to remember?

We’re going to change the URL http://www.mywebsite.com/wp-login.php to http://www.mywebsite.com/login

Edit the .htaccess file in the root folder of your website and add the following line:

[codelet]RewriteRule ^login$ http://www.mywebsite.com/wp-login.php [NC,L][/codelet]

Replace mywebsite.com with your own domain name.

You can of course use anything else to replace login too.