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.
Post filed under Tips, WordPress
December 10th, 2008 at 4:33 pm
This helps alot. Thanks!
January 12th, 2009 at 1:56 pm
[...] (plus, for an easy to remember WordPress login URL, check out this tutorial) [...]
February 18th, 2009 at 6:11 am
What a great tip! Thanks
June 30th, 2009 at 9:05 pm
Nice idea, very easy to understand. What about rewriting the url so /login points to /wp-login.php while retaining the /login url?
October 1st, 2009 at 10:28 am
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 ?
October 22nd, 2009 at 10:02 pm
To link to the specific page from Google, your swf needs deep linking capability. ,