kschmidgall
Member
Posted 12 months ago #
Hi,
I've read through the permalinks section of codex (a few times, slowly) and several threads on the forum, but I'm still struggling to find answer to my question:
In the codex it says that URLs for pages are created according to the hierarchy of the pages (for example: http://mysite.com/parent/child/grandchild).
I need to omit the '/parent' from the URL.
When I click 'Edit' for the permalink it only allows me to change the page slug, not the earlier part (/parent) of the URL...
Can anyone point me in the right direction??
REALLY appreciate your help!!
MattSimpson
Member
Posted 11 months ago #
I'm having the same problem too. I've tried some plugins (e.g. Advanced Permalinks). But I can't figure out how to get rid of the parent page slug in the URL.
studiocodes
Member
Posted 10 months ago #
I stumbled upon a similar requirement where page parent slugs were not needed in the page URL, so I searched around and found more threads like this with people asking the same thing, but no solution was given.
I finally worked it out but not yet sure how to put it up into a plug-in rather than apply the hack to the core WordPress files so that future WordPress upgrades aren't affected.
As soon as I have this solved, I'll upload it to the WordPress Plug-ins directory.