# Creating URLs with Primary and Secondary Tags in Ghost using routes.yaml

**URL:** <https://forum.ghost.org/t/creating-urls-with-primary-and-secondary-tags-in-ghost-using-routes-yaml/46064>\
**Category:** Routing\
**Created:** [March 27, 2024, 6:20am UTC](https://forum.ghost.org/t/creating-urls-with-primary-and-secondary-tags-in-ghost-using-routes-yaml/46064 "2024-03-27T06:20:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amaresh](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/amaresh/32/29741_2.png) [@amaresh](https://forum.ghost.org/u/amaresh)\
**Post date:** [March 27, 2024, 6:20am UTC](https://forum.ghost.org/t/creating-urls-with-primary-and-secondary-tags-in-ghost-using-routes-yaml/46064/1 "2024-03-27T06:20:10Z")

</div>

How can I configure routes.yaml to include both primary and secondary tags in Ghost posts URLs simultaneously?

---

<div class="post-metadata">

**Author:** ![brightthemes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/brightthemes/32/25099_2.png) [@brightthemes](https://forum.ghost.org/u/brightthemes)\
**Post date:** [March 27, 2024, 2:37pm UTC](https://forum.ghost.org/t/creating-urls-with-primary-and-secondary-tags-in-ghost-using-routes-yaml/46064/2 "2024-03-27T14:37:46Z")

</div>

As far as I know only the primary tag can be used in the routes file.  
Here are all the properties you can use (see the permalink section):

> **[Ghost Themes - Dynamic URLs & Routing](https://ghost.org/docs/themes/routing/#index-of-all-available-properties)**
>
> Build dedicated URL structures using Ghost's dynamic routing system, for custom homepages, podcasts, categories and more.
