WordPress login URL, remove wp-admin


WordPresslogin00.jpg

Considering the amount of times a person who works with WordPress accesses the Dashboard, it’s probably that you’ve ever wondered about an effective way of shortening the login address. Well, now that’s not only possible but easy to do thanks to our friend Kevin Shard, who brought us the following trick that will make your WordPress login look like ‘http://yourweb.com/login’.

All you have to do is include a rule within your .htaccess file that as you know, is located inside the root directory of your WordPress installation. Here’s an example for the case when you only put the login, but you can use whatever word you prefer.

The code you need to insert in your .htaccess file is the following:


RewriteRule ^login$ http://website.com/wp-login.php [NC,L]

Remember to always backup your site when you modify highly important files such as .htaccess.

Original link: Better WordPress login

Comments and suggetiions in here


Commenting is the best way to say thanks :)

25 people showed their love and said thanks, will you?

  1. handeltruth - July 12th

    This code only redirects  website.com/login  to  website.com/wp-login.php  . It doesn’t display the URL as  website.com/login. Can anyone confirm or challenge this?

  2. it was really very helpful thank you.

    • ThemeShock - June 18th

      You are welcome, it is in fact really helpful

  3. Really useful post, thanks.

    • ThemeShock - April 10th

      You are more than welcome. Thanks a lot for your feedback. Stay tuned.

  4. This is PERFECT!!!!

    • ThemeShock - April 10th

      Glad to see you liked it! thanks for your feedback.

  5. Thank you for useful information

  6. this is a good article

  7. This is very good & needed tips.

    Thanks

  8. mridul - April 6th

    i couldn’t find the .htaccess file in wordpress folder.

    Any Other Options?? Thanx in Advanced.

    • admin - April 20th

      The .httaccess file is located within the WordPress root folder, that is the main folder in which WP is installed.

      Let’s suppose you installed WordPress in “C:\xampp\htdocs\wordpress”, so the .httaccess file route would be ” C:\xampp\htdocs\wordpress\.htaccess”.

      Hope you find it it surely is there.

  9. Thank you for this good article

  10. Best worldpress blog,thanks.

  11. Really really handy list. Must have been a pain to compile it all together but we salute your efforts.

  12. You almost spelled my last name correctly ;P thanks for posting a link to my snippet guys. Cheers!

Check The Full DesignShock Bundle