• For some reason, all the links to my child pages point to http://example.com//page-title/

    In addition, it ends up not being able to find that page (It comes up with “Sorry, no posts match your criteria”). If I type in the url manually, removing the extra slash, it puts it back in there and gives me the same message.

    I’m using one of the default permalink structures. Any ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter Stevish

    (@stevish)

    Ok, I know you were all dying to find a solution for me, but I seem to have found it first! I’m debating whether to report it as a bug or not. Here’s the issue:

    The parent of the child page was not published.

    Let’s say, for our sake, that I had a page called parent, and a child of that page called child (I’m brilliant, I know). Now let’s assume that “child” is published, but “parent” is still saved as a draft (perhaps to keep it from being displayed on the front page ’till we get it working right)

    The url that the child page wants is http://example.com/parent/child/

    The problem is that parent isn’t published yet, so it doesn’t have a slug (or something), so it just leaves that part blank, making it http://example.com//child/

    So if any of you are having this problem, try publishing the parent page.

Viewing 1 replies (of 1 total)
  • The topic ‘URLs to Child Pages have an extra slash (/)’ is closed to new replies.