CPT and taxonomy with hirachical URL ?
-
I have been looking for a solution for quite a while. Googling, I get a lot of ideas, but none of them work as they should.
What I want:
domain.com/own-cpt/ <- archive of all posts of own cpt (custom post type)
domain.com/own-cpt/taxonomy1/ <- archive of the taxonomy
domain.com/own-cpt/taxonomy1/taxonomy-sub/ <- if there is a child taxonomy … show all posts of the child
…
domain.com/own-cpt/taxonomy1/taxonomy-sub/taxonomy-sub-sub/slug-of-post/ <- show the postSo all the cats and subcats should be in the url (if they exist).
To have a primary url I use yoast with the primary category.Using:
YOAST Primary Category
Own Custom Post type
Own TaxonomyIs there a reliable and understanable way to solve this?
Thanks a lot and have a nice weekend.
- The topic ‘CPT and taxonomy with hirachical URL ?’ is closed to new replies.