Remove parent category from Permalink
-
After some considerable trial and error and Googling, I’ve come to the conclusion that there is no way to remove the parent category from a permalink when using the /%category%/%postname%/ custom structure, correct?
In other words, if I have a parent category ‘apple’, a child category of that parent ‘pie’ and a post in the ‘pie’ category entitled ‘recipe’, the permalink will read:
https://example.com/apple/pie/recipe/
What I would like to do is have the permalink read only:
https://example.com/pie/recipe/
…but still have the ‘pie’ category as a child of the ‘apple’ category. It seems to me that there is no way to do this. Is this correct? Or have I overlooked something?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Remove parent category from Permalink’ is closed to new replies.