• This site uses a custom child theme based on the Atahualpa theme which I think is based on the Twenty Fifteen theme. The child theme developer is long gone, and Atahualpa is no longer being supported, as are a number of the plugins the site has used.

    I’ve been cobbling things together, rolling back WP versions and seeking out alternative plugins but one feature of the site that the owner is fond of, page-contextual sidebar navigation menus, is becoming difficult to maintain.

    I think adding parents to many of the currently top level pages will allow me to more easily group them and use a widget plugin to show and hide various menus on specific page types. However, when I change the parent of a page I change the permalink and break all my internal links.

    Are there ways to build a post hoc parent or other page taxonomies to solve this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    The old links to a top level page converted to a child should still work. If a page “bar” is made a child of page “foo”, example.com/bar/ should still take us to example.com/foo/bar/. Of course if there are duplicate child names under different parents, the first matching page found will be returned even if it’s not under the intended parent.

    If you are not getting this behavior, try visiting the permalinks setting screen, which causes the rewrite rules to be regenerated. Probably will not help, but it’s easy to try.

    See if it’s due to theme interference. Try using Twenty Fifteen without the child. If still no joy, deactivate all plugins as well. Solo child links ought to work now. Narrow down the cause of failed links by restoring child and plugins, one at a time until the links again fail.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing/adding a page parent without breaking internal links’ is closed to new replies.