# Understanding paths of multiple root nodes

**URL:** <https://forum.umbraco.com/t/understanding-paths-of-multiple-root-nodes/1869>\
**Category:** Questions\
**Created:** [March 28, 2025, 9:57am UTC](https://forum.umbraco.com/t/understanding-paths-of-multiple-root-nodes/1869 "2025-03-28T09:57:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karlmacklin](https://forum.umbraco.com/user_avatar/forum.umbraco.com/karlmacklin/32/1306_2.png) [@karlmacklin](https://forum.umbraco.com/u/karlmacklin)\
**Post date:** [March 28, 2025, 9:57am UTC](https://forum.umbraco.com/t/understanding-paths-of-multiple-root-nodes/1869/1 "2025-03-28T09:57:03Z")

</div>

Looking for some explanation on how urls are handled for root nodes in Umbraco.

Assume this basic setup scenario.  
We have a single node “Home” of documenttype `homePage` at root.

Add another doctype `categories` which you also allow to be placed as a root node, then add this node.

Now we have in our tree both Home and “Categories” on the same level, siblings if you will. The first Home node we created “claimed” the root path, so if you check Info panel under “Links” we see that:

Home: `/`  
Categories: `/categories`

So far so good.

Now, let’s create a `contentPage` document under Home, and a `category` document under Categories.

Our tree looks like this:

- Home
- 
  - My content page

- Categories
- 
  - Butterflies

I would expect the paths under Links to be like this:

- Home `/`
- 
  - My content page `/my-content-page`

- Categories `/categories`
- 
  - Butterflies `/categories/butterflies`

But instead, Butterflies simply becomes `/butterflies`.

Is there any way to keep categories “out” of the Home node here, but yet still let it affect the url/path base for my categories?

This setup becomes a problem when I already have a page named Butterflies, like this:

- Home `/`
- 
  - My content page `/my-content-page`

- 
  - Butterflies `/butterflies`

- Categories `/categories`
- 
  - Butterflies `/butterflies` - **Can’t save this document with a path, it is colliding with the content page “Butterflies”! What to do?**

I would like to both keep categories out of home node and be able to create a document which has the same name and path as the example illustrates.

---

<div class="post-metadata">

**Author:** ![rbrunge](https://forum.umbraco.com/user_avatar/forum.umbraco.com/rbrunge/32/461_2.png) [@rbrunge](https://forum.umbraco.com/u/rbrunge)\
**Post date:** [March 28, 2025, 12:22pm UTC](https://forum.umbraco.com/t/understanding-paths-of-multiple-root-nodes/1869/2 "2025-03-28T12:22:22Z")

</div>

Hi

Maybe setting a hostname for “categories” would be a solution.

 ![image](https://forum.umbraco.com/uploads/default/original/2X/5/5f406ed758416994ec77ff61206c3ed0f9aeb682.png)

Now:

 ![image](https://forum.umbraco.com/uploads/default/original/2X/3/35b2623803205c47b656d7266190e46faefafa6e.png)

---

<div class="post-metadata">

**Author:** ![karlmacklin](https://forum.umbraco.com/user_avatar/forum.umbraco.com/karlmacklin/32/1306_2.png) [@karlmacklin](https://forum.umbraco.com/u/karlmacklin)\
**Post date:** [March 28, 2025, 12:24pm UTC](https://forum.umbraco.com/t/understanding-paths-of-multiple-root-nodes/1869/3 "2025-03-28T12:24:42Z")

</div>

Beautiful solution, thank you Robert.

I hadn’t realized that the hostnames section could be used for this.

---

<div class="post-metadata">

**Author:** ![system](https://forum.umbraco.com/uploads/default/original/1X/624adeddd330a3d0268a184db47946ca7e82c676.png) [@system](https://forum.umbraco.com/u/system)\
**Post date:** [April 2, 2025, 12:25pm UTC](https://forum.umbraco.com/t/understanding-paths-of-multiple-root-nodes/1869/4 "2025-04-02T12:25:15Z")

</div>

Closed on April 2, 2025, 12:25pm UTC

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