Support » Fixing WordPress » 404 Error when previewing/publishing posts

  • Resolved maxphotoaustin

    (@maxphotoaustin)


    Just started happening today; when I create a post, hitting Preview or Publish takes me to a 404 page. Same if I click on the draft of the post to go back and edit it.

    I’ve disabled all plugins and cleared the cache.

    It happens regardless of what is contained in the post. I’ve tried with images only, text only, and blank.

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s very strange. It sounds like perhaps an issue with htaccess/permalinks. Try going to “Settings” –> “Permalinks” and simply resave the page to reset them and see if that helps.

    Thread Starter maxphotoaustin

    (@maxphotoaustin)

    Unfortunately, that didn’t do it.

    I also just noticed that I’m unable to edit any of my past posts. I’m always taken to 404.

    Same with trying to edit pages.

    Thread Starter maxphotoaustin

    (@maxphotoaustin)

    OK, so I found an answer elsewhere. I downloaded a fresh install of WordPress and, via ftp, replaced everything except wp-config.php and the folder/contents of wp-content. Back up and running.

    Awesome — good work! Thanks for sharing the solution in case others have a similar issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘404 Error when previewing/publishing posts’ is closed to new replies.