Hello,
I have 2 custom post types: Studios and Stages. Each studio location contains a few stages that can be rented. Using loopers I am able to display the right Stages on each Studio page. But right now the Stages do not have a parent-child relationship with their Studio.
My question is: how to restructure the URL so that the stage falls under the corresponding Studio (domain.com/studio-A/stage-A), instead of falling under the stages archive URL (domain.com/stages/stage-A)
That way each Stage would have a unique URL, even if there are 3 stages that share the same letter Stage A for example. Ideally it would go this way:
domain.com/studio-A/stage-A
domain.com/studio-A/stage-B
domain.com/studio-A/stage-C
domain.com/studio-B/stage-A
domain.com/studio-B/stage-B
domain.com/studio-B/stage-C
domain.com/studio-C/stage-A
domain.com/studio-C/stage-B
domain.com/studio-C/stage-C
Hoping this something you have a solution for!
Thanks in advance,
Emile