You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a multi site setup with different site groups.
Setup:
Group 1 has these sites:
Site 1 EN (primary), Base URL: site1.com
Site 1 FR, Base URL: site1.com/fr
Site 1 NL, Base URL: site1.com/nl
Group 2 has these sites:
Site 2 EN, Base URL: site1.be/en
Site 2 FR, Base URL: site2.be/fr
Site 2 NL, Base URL: site2.be
Expected behavior
On all 3 sites in group 2 the content gets loaded from the right site.
Actual behavior
On Site 2 FR the content gets loaded from Site 1 FR. Site 2 NL only works because there is no language in the Base URL.
Printing the currentSite.group on Site 2 FR prints Group 1, this should be Group 2.
Also: changing the path of Site 2 FR to 'fr1' fixes the issue. Seems like Craft cannot distinguish different sites with different domain/same language path.
Happy to send db, project files etc through mail if needed.
Craft CMS version
Craft Pro 5.6.11
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
Hi, thanks for getting in touch! I used the information in this issue, along with the extra information you provided on Discord, and I’m not able to reproduce it.
Can you please send your composer.json, composer.lock, .env, and config/general.php files and the database export to support@craftmcs.com so we can try to reproduce and dig deeper?
What happened?
Description
I've got a multi site setup with different site groups.
Setup:
Group 1 has these sites:
Site 1 EN (primary), Base URL: site1.com
Site 1 FR, Base URL: site1.com/fr
Site 1 NL, Base URL: site1.com/nl
Group 2 has these sites:
Site 2 EN, Base URL: site1.be/en
Site 2 FR, Base URL: site2.be/fr
Site 2 NL, Base URL: site2.be
Expected behavior
On all 3 sites in group 2 the content gets loaded from the right site.
Actual behavior
On Site 2 FR the content gets loaded from Site 1 FR. Site 2 NL only works because there is no language in the Base URL.
Printing the currentSite.group on Site 2 FR prints Group 1, this should be Group 2.
Also: changing the path of Site 2 FR to 'fr1' fixes the issue. Seems like Craft cannot distinguish different sites with different domain/same language path.
Happy to send db, project files etc through mail if needed.
Craft CMS version
Craft Pro 5.6.11
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: