# Nested/children routers navigation in Aurelia

**URL:** <https://discourse.aurelia.io/t/nested-children-routers-navigation-in-aurelia/691>\
**Category:** Help Requests\
**Created:** [January 24, 2018, 8:08am UTC](https://discourse.aurelia.io/t/nested-children-routers-navigation-in-aurelia/691 "2018-01-24T08:08:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahabganji](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/shahabganji/32/1539_2.png) [@shahabganji](https://discourse.aurelia.io/u/shahabganji)\
**Post date:** [January 24, 2018, 8:08am UTC](https://discourse.aurelia.io/t/nested-children-routers-navigation-in-aurelia/691/1 "2018-01-24T08:08:35Z")

</div>

We have some routers with unlimited nested subsets so we want to handle them dynamically.

**eg :**

```auto
Root 1
---- Child 1
---- Child 2
---- Child 3
--------- Child 3-1
--------- Child 3-2
----------- Child 3-2-1
----------- Child 3-2-2
Root 2
...

```

Can anyone guide to handle nested/childern routers by Aurelia for generating sitemap and …?

---

<div class="post-metadata">

**Author:** ![tomasbonco](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/tomasbonco/32/35_2.png) [@tomasbonco](https://discourse.aurelia.io/u/tomasbonco)\
**Post date:** [January 29, 2018, 2:12pm UTC](https://discourse.aurelia.io/t/nested-children-routers-navigation-in-aurelia/691/2 "2018-01-29T14:12:46Z")

</div>

Use a child router. Look into Docs, or this might help: [http://www.jeremyg.net/entry/create-a-menu-with-child-routes-using-aurelia](http://www.jeremyg.net/entry/create-a-menu-with-child-routes-using-aurelia) (I wasn’t reading it).

Idea is - the same way you created main router, you can create a child router.

---

<div class="post-metadata">

**Author:** ![shahabganji](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/shahabganji/32/1539_2.png) [@shahabganji](https://discourse.aurelia.io/u/shahabganji)\
**Post date:** [January 29, 2018, 5:39pm UTC](https://discourse.aurelia.io/t/nested-children-routers-navigation-in-aurelia/691/3 "2018-01-29T17:39:55Z")

</div>

Thanks, @tomasbonco,

I know about that plugin, and I wonder why nobody read that 😄 . It is wonderful, I just had some problems with it in my sample and [plugin](https://github.com/shahabganji/aurelia-toolbelt), so I need more time to investigate which part was going wrong. anyway, I let you know that if it works as expected or not.

regrads
