Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Thomas Ravnholt 12 posts 102 karma points
    19 days ago
    Thomas Ravnholt
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft