a bit of a necro (sorry), but I’m circling back to this from searching around and not finding an ‘easy’ solution here thus far for this general usecase.
The problem I’m encountering is:
- site has two (or more) section with pages leveraging taxonomies (in my case, ‘blog’, ‘music’, as the simple two examples here)
- taxonomy for these sections are discrete (e.g. blog has ‘tags’, music has ‘genre’, 'artist’s, etc)
- I want the taxonomy listings to be under the sections they’re associated with (e.g.
/blog/tags/,/music/genre/,/music/artists/)
The current solution I’ve landed on, from the above, is finally:
- use quoted keys for the taxon names (e.g. “blog/tags”, “music/genre”)
- slugify.taxonomies = “off”
(thankfully, my taxon data is already generated by a script from some other tomls, so I know that in my case, the taxon term names are slug-friendly A-Za-z0-9_-, which makes my life much easier)
I’ve realized that the upside of this approach is that I’m able to use the ‘same’ taxon name in the different contexts & keep them separate, e.g. “blog/tags” and “music/tags”, so I’m not really sure what an actually good solution would look like here.