Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    This is how child pages work.

    If you don’t want the parent page to be a part of the URL, don’t create them as child pages.

    Or, if you want something better than ”sample-page”, create a new page with the proper name and use that as the parent page.

    Thread Starter faulkwood

    (@faulkwood)

    Hi James

    Are you trying to tell me anytime someone creates a child page it automatically puts “sample-page” in the name hierarchy? I don’t know where sample-page came from because I didn’t create it. There is no page called sample page, as I deleted it when I created the site.

    The parent page is named “top best cbd oil.” That’s the name of the page I put it under. So where did the sample page come from? I have no idea….

    Thread Starter faulkwood

    (@faulkwood)

    Correction: I rather should have said that the “top best cbd oil” page is under the home page, not under “sample page.” So I don’t know where that came from…

    Moderator James Huff

    (@macmanx)

    No, I mean child pages work like this:

    example.com/parent-page/child-page/

    My guess if you just took WordPress’s default Sample Page and turned it into Top Best CBD Oil without changing the page slug.

    The place you can change the page’s slug is highlighted in this screenshot: https://cld.wthms.co/tjVJc9

    Thread Starter faulkwood

    (@faulkwood)

    Thanks. I found where to edit it at the bottom of the page in a drop down menu (I guess due to disabling Gutenberg and other plugins). That fixed it! Best wishes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Child Pages Directory Issue’ is closed to new replies.