Think First is a blog by Out:think about web marketing, online communities and how to spread your message.
To stay up-to-date with what we write, subscribe via RSS.

WordPress Tip: Make an easy to remember login URL

A buddy asked me yesterday if adding a small “Login” link to the footer of their WordPress site was a security risk. He often has trouble with people remember the /wp-login.php URL for WordPress and was trying to figure out a way to make it easier.

While the link in the footer is not a security risk if you’ve setup your WordPress install correctly, there is a much easier way.

Add this line of code to the top of your .htaccess in the root of your WordPress directory:

Redirect /login http://yoursite.com/wp-login.php

Then you can just have them go to:

http://yoursite.com/login

Try it out on mine: http://www.outthinkgroup.com/login

And it will automatically redirect you to the correct wp-login.php page.  Much easier to remember for your clients and you get around adding an extra link to your page.

Share this post:
  • Facebook
  • Twitter
  • del.icio.us
  • Reddit
  • Posterous
  • RSS

6 Responses to “WordPress Tip: Make an easy to remember login URL”

  1. Josh Says:

    This helps alot. Thanks!

  2. WordPress Tip: Add your branding | Out:think Says:

    [...] (plus, for an easy to remember WordPress login URL, check out this tutorial) [...]

  3. David Says:

    What a great tip! Thanks

  4. Ryan Says:

    Nice idea, very easy to understand. What about rewriting the url so /login points to /wp-login.php while retaining the /login url?

  5. Rima Says:

    Easy but not enough.
    i need to hide the wp-login.php and wp-admin totally. And give 404 for people who try to access these directly and access them only with /login

    Because I don’t want people to know that I am using wordpress it’s creating for me a security problem.

    So is there a way to give 404 for people who goes to /wp-login.php ?

  6. SouthWind55 Says:

    To link to the specific page from Google, your swf needs deep linking capability. ,