Title: Previewing draft posts within admin returns a 404
Last modified: November 9, 2020

---

# Previewing draft posts within admin returns a 404

 *  Resolved [cjt58](https://wordpress.org/support/users/cjt58/)
 * (@cjt58)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/previewing-draft-posts-within-admin-returns-a-404/)
 * Hi. The plugin is working perfectly apart from the above issue. I’ve cloned the
   site, disabled the plugin and previewing draft posts works perfectly. I’m running
   the latest WordPress and plugin versions and PHP 7.3.19. Any ideas would be really
   appreciated.

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

 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/previewing-draft-posts-within-admin-returns-a-404/#post-13639146)
 * Hi [@cjt58](https://wordpress.org/support/users/cjt58/),
 * you could try to re-save the permalinks. It’s possible the rewrite rules haven’t
   been flushed correctly. Could you also check if the WordPress Site addresses 
   in the general settings match?
 *  Thread Starter [cjt58](https://wordpress.org/support/users/cjt58/)
 * (@cjt58)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/previewing-draft-posts-within-admin-returns-a-404/#post-13639715)
 * Hi Mark. Thanks for the response, unfortunately has had no effect. The htacess
   is below if that helps.
 * RewriteEngine Off
    AddHandler application/x-httpd-php73 .php .php5 DirectoryIndex
   index.cgi index.php
 * # BEGIN rlrssslReallySimpleSSL rsssl_version[3.3.5]
    <IfModule mod_rewrite.c>
   RewriteEngine on RewriteCond %{HTTP:X-Proto} !SSL RewriteRule ^(.*)$ [https://%](https://%){
   HTTP_HOST}/$1 [R=301,L] </IfModule> # END rlrssslReallySimpleSSL # BEGIN WordPress#
   The directives (lines) between “BEGIN WordPress” and “END WordPress” are # dynamically
   generated, and should only be modified via WordPress filters. # Any changes to
   the directives between these markers will be overwritten. <IfModule mod_rewrite.
   c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.
   php [L] </IfModule>
 * # END WordPress
 * Thanks, Craig
 *  Thread Starter [cjt58](https://wordpress.org/support/users/cjt58/)
 * (@cjt58)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/previewing-draft-posts-within-admin-returns-a-404/#post-13640792)
 * Hi Mark. Thought I’d try the old log out, quit and reboot (took three attempts)
   but all now appears to be working as it should. Guess it may have been a Chrome
   cache thing… Thanks again for the great plugin and for also responding to my 
   topic, much appreciated. Craig.
 *  Plugin Author [Mark](https://wordpress.org/support/users/markwolters/)
 * (@markwolters)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/previewing-draft-posts-within-admin-returns-a-404/#post-13642584)
 * Hi [@cjt58](https://wordpress.org/support/users/cjt58/),
 * glad to hear you managed o fix the issue!
 * Mark

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

The topic ‘Previewing draft posts within admin returns a 404’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Mark](https://wordpress.org/support/users/markwolters/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/previewing-draft-posts-within-admin-returns-a-404/#post-13642584)
 * Status: resolved