I’m looking for a plugin/custom function that removes the parent slug of a child’s page permalink.
Something that automatically changes the permalink for child pages.
Example:
www.blog.com/products/apple becomes www.blog.com/apple
Anyone got a clue if that could be done?
Thanks in advance
1 Answer
You may not like this answer, but it’s a quite simple, and probably most recommended. Don’t set these pages as child pages.
There are numerous ways of getting pages to list out in a child-like order – WP Menus.
Use that instead, and you will cause less stress on your WordPress installation – having to set and forget things is much worst than setting them somewhere else.
The only downside would be organization in the back end, but you can either customize the List Table, or create a custom post type to hold all your products in their own area.