I suspect this boils down to a feature request, but I'll start here in case there are any other ideas.
Basically, I want to be able to define multiple URL formats for a single section or category group.
Here is the scenario:
- Section
gear
with URL formatgear/{slug}
- Category group
productTypes
with URL formatgear/{slug}
,{parent.uri}/{slug}
- Section
reviews
with URL formatreviews/{slug}
.
What I want to do but can't, is define a second URL format for productTypes
, with the format reviews/{slug}
, and {parent.uri}/{slug}
.
Similarly, I want to define a 2nd format for gear
, of reviews/{slug}
.
So I'd end up with:
- gear/gear-entry/
- gear/category/
- reviews/category/
- reviews/gear-entry/
- reviews/review-entry/
So I really need Craft to know about those additional formats to avoid crossover URLs.
Routing and assigning the entry
and category
variables is not a problem, I'm really just concerned with the slug/uri validation.