Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
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)
Checklists
Acceptance criteria
Attachments
Issue Links
- is related to
-
MAGNOLIA-8261 URI2RepositoryMapping does not accept .html anymore
-
- Closed
-