I am attempting to create some posts to display on a CPT taxonomy page which follow the same URL structure.
I have a post type of animal and taxonomy of animal-category, the generated URLs for these pages are:
- domain.com/animal
- domain.com/animal-category
I then want to create a standard page (not part of this post type) which will have the URL:
- domain.com/animal-category/page-name
Structurally the page is unrelated to the animal posts and could be a standard page or in a post type, it doesn't matter.
After research and previous knowledge I cannot find a rewrite rule to force a page to use domain.com/animal-category before the page-name is added - as it has already been rewritten for the taxonomy.
Maybe there is a completely different solution to achieve having a page (with this URL structure) on a taxonomy listing?