Custom Permalink: display permalink that has parent with parent slug ONLY!
-
Hi! I have some unusual question and need help.
let I have child category c2 of cparent
I am able to access c2 category by two ways
1. http://example.com/category/cparent/c2
2. http://example.com/category/c2I want to keep only first version of URL for c2 and send 404 response when someone tries to access c2 child category by the second ourl.
Question: how to do that?
Thank You!
- The topic ‘Custom Permalink: display permalink that has parent with parent slug ONLY!’ is closed to new replies.