Pretty URL For WordPress Login

January 11th, 2011

In a typical WordPress installation is used to log in to the back-end of the site with the addition of a sub-domain if it’s in use. Personally, I have this link bookmarked so I don’t have to type it in all the time but Chris Coyier of Digging Into has shared a tip to make the log-in URL a bit more pretty. It’s a simple rule added to your .htaccess file. With Chris’s tip applied, the log-in URL will look like which is much easier to remember than wp-login.php.




  1. Mattias (32 comments.) says:

    Why not just use ?

    • Michael (1 comments.) says:

      Yup, that’s what I use too.

    • Ryan (55 comments.) says:

      /login/ is easier to remember and more applicable when the person doesn’t know or care what WordPress is.

      • garce (2 comments.) says:

        People that don’t know or care what WordPress is might have trouble modifying their .htaccess file, though.

        I think its a good tip, myself.

    • dgrut (10 comments.) says:

      im always using that url to login. but the tips is very usefull (if you how to edit .htaccess)

  2. mnbvcx says:

    Well, isn’t that more or less exactly what the plugin “Stealth Login” ( does (resp. did as the plugin is said to work only up to 2.7.1)?

  3. Vin DeCal (1 comments.) says:

    Another good reason for changing the standard login url is security. With your wp-login.php you leave a general footprint that could be found and used by anyone who knows about vulnerabilities in wordpress.

    To see the footprint, just google for “inurl:wp-login.php”.

    By the way – this applies for any standard installation of web-application that uses a fixed set of urls or standard text in their forms.

    I therefore highly recommend to follow Chris’ advice.

  4. Darren (1 comments.) says:

    For some of my sites I just map a sub-domain to the /wp-admin/ (i.e. “”). Works really well.

  5. Nicholas Teo@Feng Shui since 1988 (37 comments.) says:

    This is a great tip, it can be use for more than changing the login url. thanks

  6. Victor Teixeira says:

    You are linking to the wrong post on the site.

  7. Matthew Guay (4 comments.) says:

    Funny thing is, I get so used to adding /wp-admin to the end of domains to edit or add posts, I often forget and type it in when trying to admin sites with other CMS systems. Maybe I’ll have to just map them to /wp-admin since it’s already in my muscle memory ;)

  8. paul (2 comments.) says:

    i think you can get a plugin which will make yo login page look like your site i forgot the name but search for customize login it will list alot of plugins

Obviously Powered by WordPress. © 2003-2013

page counter