Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
When using MultiSite together with I18nContentSupport, one can access language mutations multiple ways:
If /travel/mappings/website@URIPrefix=/test
then one can access site using
https://demopublic.magnolia-cms.com/de/test/contact
https://demopublic.magnolia-cms.com/test/de/contact
In both cases MultiSite removes the URIPrefix and language is then resolved by the I18nContentSupport.
Same can happen if we use site prefix, for example these will also work:
https://demopublic.magnolia-cms.com/de/sportstation/about
https://demopublic.magnolia-cms.com/sportstation/de/about
(Note: enable i18n in sportstation and remove domain mapping for travel site before clicking urls above.)
Same as above, in both cases MultiSite removes the site prefix and language is then resolved by the I18nContentSupport.
I'd consider good practice to support only the first case as it seems confusing that we can access same content under two same urls.