0

I'm running into an issue where the slug of the parent page is getting appended to the slug of the child page. The site has 4 levels of page depth, so the permalinks end up looking like this:

domain.com/parent1/parent2/parent1parent2parent3/parent1parent2parent3childpage/.

Using a custom permalink plugin has helped to fix the issue on a case by case basis, but I'd like to figure out the systemic problem. Any idea of where to look would be greatly appreciated! There is some code to check for page depth and set up custom menu walkers based on it. Maybe that has something to do with. (This is also my first post so please let me know how I can improve with my question asking).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.