All of a sudden I cannot login because it says The requested page "/http://testsite.com/user/login" could not be found. It puts a slash before the URL

I have no idea where that comes from.

  • What did you click on to get to that url? Is your login link faulty? Or do you get the form but the form doesn't work? – Darvanen Feb 23 '15 at 8:19
  • The problem was that any url suddenly returned this error message, no matter what link because I also tried typing urls directly in the address field of different browsers. The next mornging the problem was vanished by itself – Yuri Feb 23 '15 at 12:40

Check whether you have changed the $base_url variable in settings.php file in sites/default folder.

| improve this answer | |
  • No, the base url was not set in settings.php. For some reason the problem resolved itself when I woke up today. I have now put the domain as base url and see if the error message will stay away. – Yuri Feb 23 '15 at 12:42
  • The problem appeared again, so the base url is not the cause. – Yuri Feb 26 '15 at 2:57

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.