-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
We have a (micro) site which is accessible on www.magnolia-cms.com/dxp-benchmark
We have site configuration for it:
mappings: website: URIPrefix: /dxp-benchmark handlePrefix: /dxp-benchmark repository: website
which works.
Issue is when accessing page with .html - www.magnolia-cms.com/dxp-benchmark.html I got 404 error. when trying to set virtual uri mapping redirect:
class: info.magnolia.virtualuri.mapping.DefaultVirtualUriMapping fromUri: /dxp-benchmark.html toUri: redirect:/dxp-benchmark
this redirect doesn't work, doesn't trigger.
(when changing either fromUri or URIPrefix, so they are not same, redirect start working, so it seems like URIPrefix is preventing redirect with same fromUri)
Acceptance criteria
- is related to
-
MAGNOLIA-8261 URI2RepositoryMapping does not accept .html anymore
- Closed