0

I have created a copy of a joomla website under the same domain. I then edited the new website to be something different from the first. Every website is under it's own folder:

www.mydomain.com/website1

www.mydomain.com/website2

The issue that i am having is that i cannot be logged in to both sites, if i try to login on the second one i get kicked from the first and vice versa.

Any idea what i should change?

  • maybe the second one uses the database of the first and vice versa. – FFrewin Apr 23 '17 at 13:26
  • No every site has its own files and database i just advanced the first site up to a point and created a duplicate so i would not do some basic steps again. – John Apr 23 '17 at 13:29
2

Go to Global Configuration and check Cookie Settings. Most probably your cookie settings are same for both domains and they both are sharing same cookies.

enter image description here

  • They are both empty in both websites. Using my example in my question how should i set those? – John Apr 24 '17 at 16:37
  • 1
    User website domain name in the cookie domain field, subdirectory name in cookie path. example ".mydomain.com" (see leading dot) as domain "/website1/" as path. – Nagarjun Apr 24 '17 at 16:47

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.