Search
Close this search box.

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:

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

Replace mywebsite.com with your own domain name.

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

Was this article helpful?
YesNo

3 Responses

  1. Hi there Wil!

    I’ve seen quite some posts now on this tiopic, can it really be this easy to make your wp site more safe?

    N.

  2. Aha, ok, but now I want this while hiding wp-aqdmin and wp-login.php, do you know how to accomplish that?

  3. it just redirecting not hiding or changing my WP log in URL but still its a good article for those who want a esay to learn URL