How to use multiple slugs in URL?

Whenever I use anything other than :slug in my URL, the dynamic page will not pull CMS data. i.e. if I used :test

I want a site with nested architecture, and to do this I am trying to make dynamic pages which are children of other dynamic pages. I am trying to make my URLs look something like:
collection-page/:slug1/another-collection/:slug2

As I mentioned, if I use anything other than :slug the CMS data won’t load. I need two slugs in the URL, since I have two dynamic pages, but I can’t rename :slug without the page breaking and I can’t use “:slug” twice to get the correct URL.

How do I tackle this? Thank you!

Hi, theres quick explanation how it can be done. With single relation field

Thank you, Pakic! :pray: I guess, I was trying to reference and dynamically change the slug variable for a parent page from a child page. If I don’t do that and instead have no nested pages, I can edit the slugs just like you showed in your video. So thank you!