Support » How-To and Troubleshooting » New page giving 404 error

New page giving 404 error

  • I have used the Pages feature several times, hand coding the link to the page in the side bar. I created a new page today using the same method I’ve always used: Login to Admin > Write > Write Page entering Title and Page Content then pressing “Create New Page”. Under “Manage Pages” my new page appears, I can edit it but when I click “View”, I receive a 404 error page.

    I have tried changing the slug, deleting and re-creating, changing the title, entering a different page order, even trying to list it under a “parent” rather than “Main Page – No Parent”. Nothing works, I keep getting a 404 for this new page as well as other test pages I have created.

    Is this a new bug? Am I missing something? Are there only so many pages allowed? [I have 5 that work, 1 that doesn’t.]

    Thank you for any insight.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You say you’re getting a 404 error? What is the URL it is trying to access and not finding anything? Are you suing mod_rewrite at all?

    The Pages feature assigns the page “slug” from the title – and creates the url itself. After saving the new page when I click “view” it tries to find http://www.mydomain.com/pageslug and gives me a 404. I am not using mod_rewrite to my knowledge. I explained the manner I am creating new pages above, it has always worked previously. The only thing I do differently is hard code the http://www.mydomain.com/pageslug into my side bar by hand but that isn’t the problem, as the admin delivers the 404 just by pressing “view” yet allows me to edit my content when I press “edit”.

    Just kidding, I’m told I am using mod_rewrite – have been using it all along [it allows the page slugs, right?] But why would that effect a new page all of a sudden?

    Wow, this is really, really weird. Now, side stepping the post slug altogether, I tried entering the url directly into the browser with the ID number:


    With that, it pulls up my website, but with a message that says “Sorry, no posts matched your criteria.”

    That ID number is taken directly from the admin in the “Manage Pages” section next to my new page! Again, I can click “edit” and see all of my content.

    This is really baffling, help, anyone?

    That id is the page id, not the post id, so doing ?p=504 shouldn’t work.

    Instead, try accessing it using mydomain.com/?pagename=slug

    I had that thought – okay doing ?pagename=slug works, but how strange that mydomain.com/slug no longer works when it does on the other pages. Is this an upgrade issue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘New page giving 404 error’ is closed to new replies.