• Hi guys,

    Got a couple of sites running WordPress installs on different domains. One of them being the following –

    WordPress URL : https://poweringreputations.com/cert-int
    Site URL : https://cert-int.com

    But on this site when I try and make a post and preview it I get a 404 error, page not found. When I try and preview an already published post I get a ‘You do not have permission to preview drafts.’ error instead!

    All the posts are showing fine on the website once posted, however I need the site owner to be able to preview his posts before publishing them, so this is a problem.

    I’ve tried resetting the site to Default permalinks to help the problem, but no fix.

    I’ve tried adding index.php into my preview post URL before the ?, but that didn’t help either.

    I’ve tried adding the following to the .htaccess file for the site..

    ‘RewriteCond %{HTTP_HOST} =ww.cert-int.com [NC]
    RewriteCond %{QUERY_STRING} (preview=true)
    RewriteRule ^$ poweringreputations.com/cert-int/?%{QUERY_STRING} [R=301,L]’

    but that didn’t help either. It then just came up with an error saying that the page was on a ‘redirect loop’….

    Can anyone please help as I’m at a total loss with trying to solve this!

    Thanks in advance,

    Richard

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post preview 404 error’ is closed to new replies.