Australia's Leading Digital Marketing Experts. T. 1300 235 433  |  Aggregation Enquires Welcome

Change WordPress Login Address

This is just one of many simple ways of altering the WP dashboard login address. With the following changes to your site's .htaccess file, you can change your WordPress administrator login address from yoursite.com/wp-admin.php to just yoursite.com/login. In fact, using this method, you can can your login URL to just about anything. The following may not work on your server, depending on how it's set up.

1
RewriteRule ^login$ /wp-login.php [NC,L]

If you want to be nice enough to give your authors the option of using login/ (note the trailing slash), use the following instead:

1
RewriteRule ^login?/?$ /wp-login.php[NC,L]

When adding to your .htaccess file it's important not to leave any white spaces at the end of each line (or under the last line).

Like this article?

Share on facebook
Share on Facebook
Share on twitter
Share on Twitter
Share on linkedin
Share on Linkdin
Share on pinterest
Share on Pinterest

Leave a comment