• Resolved Rob Cubbon

    (@robcub)


    I’ve just sent a new post to publish and when I click on the URL it give the 404 page.

    I can’t understand it. the preview works fine when the post is in draft form. I’ve not messed around with the pretty permalink at all.

    All other posts work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do you see some big diference in the URL between posts that are ok and this one? Is it published or draft/pending for some reason?

    Preview and real post are quite diferent thought, you can’t compare them except for the content it self. And you are sure there are no issues with the permalink settings?

    Thread Starter Rob Cubbon

    (@robcub)

    I mentioned about the draft preview because the preview once published didn’t work either.

    Here is the URL (I’ve just published it again and I’ll leave it like that for a few minutes)

    https://robcubbon.com/how-to-increase-your-web-design-prices/

    Not different from any ohter post I’ve published over the years.

    I’ve not changed the permalinks or anything else.

    Thread Starter Rob Cubbon

    (@robcub)

    I’ve fixed it.

    I changed permalinks from Postname to Default to Custom and back to Postname (I didn’t know they were on Postname, I thought they were on custom but I don’t know if there’s any difference if the custom is set to %postname%)

    This didn’t work.

    I then used my trusty WP Database Optimizer Tools https://xtremenews.info/wordpress-plugins/wp-database-optimizer-tools/ to optimize and repair DB

    Then it worked!

    Worked for me too. Thanks for sharing. New posts were giving 404 not found, and I also tried updating permalinks, clearing all caches, but nothing. Thanks to your suggestion, I used the plugin Better Delete Revision, which also has a feature of optimizing database. After optimizing my database, new posts show up fine.

    Thread Starter Rob Cubbon

    (@robcub)

    It’s funny, I can’t even remember this happening – I must be getting old!

    Glad to hear it worked out for you, enxaqueca.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘New published post 404 Not Found !’ is closed to new replies.