I made a development site using development.breinwijzer.be as subdomain. After I've logged in, I'm already back at my primary domain www.breinwijzer.be.

  • I tried different browsers.
  • I cleared caches.
  • I cleared browser caches.
  • I checked the settings.php file of the development site to see if I have the correct database set for the development site.

Other than this, I'm clueless.


In the settings.php someone uncommented $base_url and put the primary domain of the site as a value. Changing the value into the subdomain I was working in solved the issue.

  • if the issue has been solved completely, consider marking your own answer as solution as it would help others looking with similar issues. – optimusprime619 Apr 19 '12 at 7:56
  • It's 11 hrs too early to do that – Immers Apr 19 '12 at 8:12
  • I had the same problem, and this is exactly what the reason and the fix was. Thank you. – Sumeet Pareek Jul 11 '13 at 5:09

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.