Title: 404 Error when previewing/publishing posts
Last modified: July 10, 2017

---

# 404 Error when previewing/publishing posts

 *  Resolved [maxphotoaustin](https://wordpress.org/support/users/maxphotoaustin/)
 * (@maxphotoaustin)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/404-error-when-previewingpublishing-posts/)
 * 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)

 *  [mickmel](https://wordpress.org/support/users/mickmel/)
 * (@mickmel)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/404-error-when-previewingpublishing-posts/#post-9307008)
 * 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](https://wordpress.org/support/users/maxphotoaustin/)
 * (@maxphotoaustin)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/404-error-when-previewingpublishing-posts/#post-9308754)
 * 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](https://wordpress.org/support/users/maxphotoaustin/)
 * (@maxphotoaustin)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/404-error-when-previewingpublishing-posts/#post-9309741)
 * 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.
 *  [mickmel](https://wordpress.org/support/users/mickmel/)
 * (@mickmel)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/404-error-when-previewingpublishing-posts/#post-9309932)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [mickmel](https://wordpress.org/support/users/mickmel/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/404-error-when-previewingpublishing-posts/#post-9309932)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
