conditional permalink
-
Hello, i have a structure that works like this:
mydomain.com/custom-taxonomy-1/category/post-name
But I have 3 taxonomy groups:
. custom-taxonomy-1
. custom-taxonomy-2
. CategoryI would like to know if it is possible to have a different structure if I choose a particular item from custom-taxonomy-1. For example:
If I choose any item from custom-taxonomy-1 the structure will be normal:
mydomain.com/custom-taxonomy-1/category/post-name
But if i choose a SPECIFIC item from custom-taxonomy-1 the structure will be different:
mydomain.com/custom-taxonomy-1/custom-taxonomy-2/post-name
I have the alternative of creating a custom post and defining this alternative structure for him, but I didn’t want to do that because the posts have the same architecture. It was just to have a different permalink structure.
The topic ‘conditional permalink’ is closed to new replies.