I just did a manual install and tried to login, but was unable to do so using domain.com/login. I got a 404 error. When I used domain.com/wp-admin, no issues. Did I do something wrong or forget to do something?

  • @toscho - in WP 3.4 wasn't there was supposed to be a redirect that made /login /dashboard and /admin take you to the sign in page...helgatheviking, I didn't make changes after setting it up... could be that I need to go to the permalinks page to make it work. – Ray Mitchell Aug 17 '12 at 1:12
  • Are you allowed to downvote your own question? I was doing something stupid, which actually bypassed WordPress (homemade maintenance page). When I entered, domain.com/wp-admin...the page came up because I called it directly. Nevermind – Ray Mitchell Aug 17 '12 at 1:22
  • @helgatheviking - going to the permalinks page was not enough. It worked once I chose a pretty permalink. – Ray Mitchell Aug 17 '12 at 1:30
  • Ray, your question is not as stupid as you think. It really doesn’t make sense that /login requires permalinks. And it was an opportunity to share a localized version. :) – fuxia Aug 17 '12 at 1:45

/wp-admin/ is an existing directory, your server just adds the missing /.
/login is … nothing. The correct name is /wp-login.php.

If you have enabled permalinks it should work though.

To make /login always work add the following line to your .htaccess above the WordPress rules:

Redirect Permanent /login /wp-login.php

You can and should localize it if you use other languages:

# login in German
Redirect Permanent /anmelden /wp-login.php
| improve this answer | |

/login is not a valid url unless you have edited your .htaccess to redirect it correctly.

perhaps you are looking for /wp-login.php

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.