post-page

Pretty URL For WordPress Login

14
responses
by
 
on
January 11th, 2011
in
LinkyLoo

In a typical WordPress installation http://yoursite.com/wp-login.php 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 WordPress.com 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 http://yoursite.com/login which is much easier to remember than wp-login.php.

heading
heading
14
Responses

 

Comments

  1. Mattias says:

    Why not just use site.com/wp-admin/ ?

    • Michael says:

      Yup, that’s what I use too.

    • Ryan says:

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

      • garce 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 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” (http://wordpress.org/extend/plugins/stealth-login/) does (resp. did as the plugin is said to work only up to 2.7.1)?

  3. Vin DeCal 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 says:

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

  5. 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 digwp.com site.

  7. Matthew Guay 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 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

css.php