While most users of WordPress will know that to login to the back-end, you’ll need to visit /WP-Admin/ or wp-login.php, but what if you could change that to make it simpler to remember? WPBeginner has a small tutorial complete with a code snippet that you place within your .htaccess file that enables you to rewrite the WordPress Login URL into a custom URL. Telling clients to visit yoursite.com/login is a lot easier than that gobbily gook everyone has to deal with by default. Personally, I’ve just bookmarked the WP-Admin URL for my site and use that instead of remembering anything.
Creating A Simpler Login URL
7 responses to “Creating A Simpler Login URL”
-
-
er, that hyphen should read <Ctrl>-<End> … feel free to moderate accordingly. Thanks.
-
That post actually got me thinking of ways to do it without having to edit the .haccess file (for those who use Nginx web server, for example) and I came up with this simple solution that uses built-in WordPress rewrites filter.
-
@Kaspars – That is a very neat filter Kaspar.
-
This is already in WordPress 3.4. /login, /dashboard, and /admin will take you where you want to go, even if WordPress itself is installed in a subdirectory (such as wptavern.com and wptavern.com/wordpress/).
-
@Andrew Nacin – Great! … WP_Rewrite was giving me no end of frustration trying to sort out how to add it to a plugin (*grin*)
-
@Edward Caissie – Ah, yeah. It is implemented as part of the canonical API. Rewrite isn’t a good place for it, as we don’t want it to stop on existing posts or pages. Here’s the ticket.
Neat little trick although personally I still prefer my “BNS Login” plugin.
Install and activate. Now whenever you are on your site you can simply press – to scroll to the bottom of the screen and you will find a link to the Dashboard (or to log in as the case may be).