I was wondering if it was possible to tell Xperience 13 with content tree-based routing that the last part of the URL is a parameter to send to the controller. For example, I have a mental health resources directory on a website that is at
/en/resources. In this directory, you can search by region. Doing so, it will add the region code in the URL. For resources in Montreal, the URL would be
The reason for this is simple: we are putting each URL to regions in the site map so that search engines can display the URL to users that are searching for mental health resources in their region. For now, I was only able to pass the region filter as a query parameter to the URL. For the
/en/resources/montreal link, Xperience 13 returns a 404 since it thinks it is a different route and I don't have any page types or custom routing that handles this URL.
I thought that maybe if I code a custom route just for this situation that redirects the user to the resources page with the region filter in query, it will solve my problem. If you have suggestions with an included Xperience 13 feature, It would much appreciated =).
Thank you for your time!