-
Bug
-
Resolution: Fixed
-
Neutral
-
1.2
-
None
-
-
Empty show more show less
-
Kromeriz 74
-
3
Multisite filter checks in clearURI method for homepage by comparing uri to /siteName.html. If uri matches the /siteName.html, handle in aggregation state is then set to /. However that is not the only case for resolving the homepage, we should cover other cases and set / handle for them as well:
- /siteName
- /siteName/
- /siteName~my=awesome~selector~.html
- /siteName~my=awesome~selector~
Check for /siteName.html is not sufficient. We might consider to add rule for matching the /siteName.html or /siteName~my=awesome~selector~.html that users can activate for SEO purposes (prevent duplicate content).
We also need to improve checks in info.magnolia.multisite.sites.matchers.NotEmptyHandleMatcher. Current behavior is erroneous because we only check for startsWith handlePrefix, thus pages like /travel, /travel0, /travelSomething matches the handlePrefix.
- is related to
-
MAGNOLIA-6882 Remove legacy code that allows to access site with duplicate prefix in the url
- Closed