I have a custom post_type called "video" and custom taxonomy "feeds"
I want to rewrite my page with detailed videos:
http://example.com/funny/<postname>
here "funny" is the term for channels.
I tried code like:
add_permastruct( 'video', '%channels%/%video%' );
It works fine, but when I try to open the details page, whose permalink is:
http://example.com/<parent_category>/<postname>
he does not work. All messages on page 404.
Please help me.
source
share