We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42963
    • 12 Posts

    I have installted a website on a subdomain f.ex.
    sub.website.com

    There is an old website of the client at a different host f.ex.
    oldwebsite.com

    Now I set up a virtual host and "redirected" the domain oldwebsite.com to the new server where sub.website.com is hostet.
    I set up the context base href and everything worked fine, all the friendly urls where displayed right: oldwebsite.com/site.html

    EXCEPT the login area for members (on the site) is not working anymore. The login field is displayed. When you sign in the page
    oldwebsite.com/memberpage.html shows an error

    If I change the url to
    sub.website.com/memberpage.html I can see the member page. But only if I am logged into the manager.

    Can anybody help? It would be much appreciated

    This question has been answered by greenbee. See the first response.

    • discuss.answer
      • 42963
      • 12 Posts
      I have been researching.. and I found out that I had to set the
      session_cookie_domain for the context to .oldwebsite.com

      Now everything works fine!