Controller for page with wildcard route


Is there any way to get a controller for a page to have a “wildcard” route? For example if i have the page “the-page” browsable at “” - can I get the same controller to also get the request at “”?

Litium version: [7.4]

Not on an easy way and you need to override the internal api for url lookups Litium.Web.Routing.PageRouteResolver and there rewrite the url. This is an performence critical resolver and changes need to perform very well.

Thank you Patric! :slight_smile:

I have a very specific issue I’m trying to solve (or managed solve to thanks to your answer) so performance should not be a problem.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.