I have a doubt.

If book is my custom post type, language is my taxonomy, english is the item in taxonomy , Harrypotter is new post in book with txonomy english. Then how i get the url structure like

(1) www.example.com/books/language/english/harrypotter
(2) www.example.com/books/english/harrypotter

If novel is sub taxonomy under english then

(3) www.example.com/books/language/english/novel/harrypotter
(4) www.example.com/books/english/novel/harrypotter

I read many examples like this and this, but i can't figer out how to do this .

Any idea?


If you need to change the permalink structure, it can be done in admin panel.

Go setting -> permalinks and chose what you need in general settings

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.