I have custom post_type called 'video' and custom taxonomy "channels"
I want to rewrite my video details page like this:
http://example.com/funny/<postname>
here "funny" is channels term.
I tried some code like:
add_permastruct( 'video', '%channels%/%video%' );
It's working fine but when I'm trying to open post details page whose permalink structure is:
http://example.com/<parent_category>/<postname>
it's not working. All post single page show 404.
Please help me.