Page mapping without redirecting #5829
-
|
I was wondering if there's a way of adding page mappings in Oqtane that don't result in a redirect, similar to how I can set up multiple Site aliases and if I configure them as default, they don't redirect. For example, I would like to have "/page1" and "/page2" rendering the same page, but without having "/page2" redirecting to "/page1", and maintaining "/page2" as the url in the user's browser. Basically, multiple aliases for pages. Is there any way to achieve this already with Oqtane or perhaps through a custom theme? Are there any extensibility points for the Oqtane custom router? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The only way to accomplish this currently is to use the Url Mapping feature. You can register multiple routes that are redirected to the same route. However, it will still perform a "redirect". There is no plan to support page route aliases within the router. |
Beta Was this translation helpful? Give feedback.
The only way to accomplish this currently is to use the Url Mapping feature. You can register multiple routes that are redirected to the same route. However, it will still perform a "redirect". There is no plan to support page route aliases within the router.