# Is it possible to simply create a hierarchical URL structure within the Page URL for pages?

**URL:** <https://forum.ghost.org/t/is-it-possible-to-simply-create-a-hierarchical-url-structure-within-the-page-url-for-pages/39394>\
**Category:** Using Ghost\
**Created:** [June 23, 2023, 1:43am UTC](https://forum.ghost.org/t/is-it-possible-to-simply-create-a-hierarchical-url-structure-within-the-page-url-for-pages/39394 "2023-06-23T01:43:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AnnaMariaEriksson](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/annamariaeriksson/32/24001_2.png) [@AnnaMariaEriksson](https://forum.ghost.org/u/AnnaMariaEriksson)\
**Post date:** [June 23, 2023, 9:08am UTC](https://forum.ghost.org/t/is-it-possible-to-simply-create-a-hierarchical-url-structure-within-the-page-url-for-pages/39394/2 "2023-06-23T09:08:34Z")

</div>

Technically you can do this with the `routes.yaml` file, but it’s a hassle since you have to create a structure for every single page you’d want to create. I’ve written a post in this forum about having a base url for pages and posts, to get rid of this issue, but I have no idea how interesting that is for the developers of Ghost.

> [@Custom route as base for pages AND posts](https://forum.ghost.org/t/custom-route-as-base-for-pages-and-posts/38734):
>
> Hello again, everybody in this lovely forum! I have some new questions about Ghost I need some help with. I love the collections feature and I use it heavily. I use it to run multiple blogs on the same site. Thank you Ghost, for that! heart However, is there a way to have a base url? I recently found out you can add custom routes like this: routes: /en/: template: page data: page.home That’s great, but I wonder if it’s possible to have that /en/ route as a base for all my pages…

---

_[View the full topic](https://forum.ghost.org/t/is-it-possible-to-simply-create-a-hierarchical-url-structure-within-the-page-url-for-pages/39394)._
