From WordPress 3.4 onwards, we can log into WP backend using custom URLs such as yourdomain.com/login or /dashboard. For those who do not wish to wait that long, here is the quick tip on how to do it now without a plugin. Please note that rewrite isn’t a good place to implement it. That’s why it is
going to be implemented as part of the canonical API in 3.4.
Here is the rewrite that should do the trick for /login, /logon, /login/, logon/. You are welcome to play with this rewrite rule for maximum fun!
RewriteRule ^log(i|o)n\/?$ http://<strong>yourdomain.com</strong>/wp-login.php [NC,L]
Please change the name of yourdomain in the above code.
Happy Rewriting! :)
2 Replies to “Custom Login URL for WordPress”
I’ve some stuff about WP 3.4 but never heard that we’ll be able to choose our url for login. That will be great!
You can know more about what’s expected from 3.4.