One custom post type with two different url structure base on taxonomy term

Question

i have one cpt Anime and it has post_type taxonomy with term anime and animation

anime(cpt): (site domain)/anime/post title
     |
     |-(tax)Anime
     |-(tax)Animation

And my url structure are like: (site domain)/anime/post title
but i wanna this kind of urls:

anime
     |
     |-(tax)Anime: (site domain)/anime/post title
     |-(tax)Animation: (site domain)/animation/post title

i really don’t know how to build it.

0
, , user1489083 7 years 2014-12-12T05:30:33-05:00 0 Answers 76 views 0

Leave an answer

Browse
Browse