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 to

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

RewriteRule ^login$ [NC,L]

Replace with your own domain name.

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

Was this article helpful?

Keep In Touch


Wil is a dad, WordPress consultant, WordPress developer, business coach and mentor. He co-organizes the WordPress Sydney meetup group and has been on the organising committee for WordCamp Sydney since 2014. He speaks at many special events and contributes to the WordPress open source project. His likes are chillies, craft beer and electrogravitics.

3 thoughts on “How to Change the Default WordPress Login URL”

  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?


  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

Comments are closed.