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?

2
  • maybe the second one uses the database of the first and vice versa. Commented Apr 23, 2017 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. Commented Apr 23, 2017 at 13:29

1 Answer 1

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

2
  • They are both empty in both websites. Using my example in my question how should i set those? Commented Apr 24, 2017 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. Commented Apr 24, 2017 at 16:47

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.