Title: Preview shows 404
Last modified: September 1, 2016

---

# Preview shows 404

 *  [HorrorUK](https://wordpress.org/support/users/horroruk/)
 * (@horroruk)
 * [10 years ago](https://wordpress.org/support/topic/preview-shows-404/)
 * For some reason, my site has started to show a 404 error whenever I select to
   view a preview of a post/page.
 * I’ve seen what the problem is, but not sure what to do to fix it.
 * When I do a preview, it brings up something like this:
 * > [http://sylv.net/wp-admin/sylv.net/summerlypse-by-gerardo-delgadillo-cover-reveal/?preview_id=16491&preview_nonce=c88fa5f6aa](http://sylv.net/wp-admin/sylv.net/summerlypse-by-gerardo-delgadillo-cover-reveal/?preview_id=16491&preview_nonce=c88fa5f6aa)
 * So it is putting the preview URL after the admin URL.
 * Just to add to the confusion, if I use the preview link on the post list page
   for a post which is scheduled, it shows the preview as it should do.
 * I thought it may have been something to do with the .htaccess file, so I changed
   it to show what was written in the bottom of the permalinks page, which it said
   it couldn’t add as the .htaccess file isn’t writable (though it is set at 755).
 * Doing that gives an error 500 on the entire site, so I tried removing the .htaccess
   and saving the permalinks to create a new one, but a new one isn’t being created
   for some reason.
 * This is what WP is telling me to add to my .htaccess file:
 * > <IfModule mod_rewrite.c>
   >  RewriteEngine On RewriteBase sylv.net/ RewriteRule
   > ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   > d RewriteRule . sylv.net/index.php [L] </IfModule>
 * Going back to my original .htaccess file, it shows the site as it did before,
   but I still have this problem with previewing.
 * Any ideas?
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Wooninjas](https://wordpress.org/support/users/wooninjas/)
 * (@wooninjas)
 * [10 years ago](https://wordpress.org/support/topic/preview-shows-404/#post-7464839)
 * Did you try resetting the permalinks for your site ?
    maybe It could help or 
   clear cache if you are using any cache plugin.
 * **Settings-> Permalinks -> Save changes**
    to rebuild it again
 * More here : [http://codex.wordpress.org/Using_Permalinks](http://codex.wordpress.org/Using_Permalinks)
 *  [Muhammad Jahangeer](https://wordpress.org/support/users/wpressdr/)
 * (@wpressdr)
 * [10 years ago](https://wordpress.org/support/topic/preview-shows-404/#post-7464844)
 * Hi [@horroruk](https://wordpress.org/support/users/horroruk/)
    Agree with Wooninjas.
   Deactivate any cache plugin and save permalinks and everything will be fine.
 *  Thread Starter [HorrorUK](https://wordpress.org/support/users/horroruk/)
 * (@horroruk)
 * [10 years ago](https://wordpress.org/support/topic/preview-shows-404/#post-7464860)
 * Thanks, that’s exactly what I thought, but it doesn’t seem to be playing ball.
 * I’ve even tried deactivating all plugins and resetting the permalinks, but that
   isn’t doing it.
 * I don’t have any cache plugins on the site yet, but did have WordPress Gzip Compression.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Preview shows 404’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [HorrorUK](https://wordpress.org/support/users/horroruk/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/preview-shows-404/#post-7464860)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
