Handling route collisions in Umbraco with flat content structure
Hello everyone,
We have a solution where all our content exists in a flat structure at the root level. To manage this, we use root nodes as "groups" for organizing the content and as entry points for retrieving specific content via the Delivery API. All the routing is handled on the frontend.
However, we've encountered an issue: since all the routes are at the root level, we're running into route collisions when content in two different groups shares the same name. This prevents us from publishing both items, as Umbraco-generated routes clash.
Ideally, we want to allow these routes to be identical, as we're using the route together with the content type to fetch documents for the frontend.
Has anyone faced a similar issue, and is there a way to configure Umbraco to allow duplicate routes? Any advice or alternative approaches would be greatly appreciated!
Handling route collisions in Umbraco with flat content structure
Hello everyone,
We have a solution where all our content exists in a flat structure at the root level. To manage this, we use root nodes as "groups" for organizing the content and as entry points for retrieving specific content via the Delivery API. All the routing is handled on the frontend.
However, we've encountered an issue: since all the routes are at the root level, we're running into route collisions when content in two different groups shares the same name. This prevents us from publishing both items, as Umbraco-generated routes clash.
Ideally, we want to allow these routes to be identical, as we're using the route together with the content type to fetch documents for the frontend.
Has anyone faced a similar issue, and is there a way to configure Umbraco to allow duplicate routes? Any advice or alternative approaches would be greatly appreciated!
Thanks in advance!
is working on a reply...