Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    I can’t reproduce it, so I think there might be something in your theme or in your .htaccess that is doing the redirect when the site is loaded on SSL.

    Are there redirect rules in your .htaccess other than SSL redirect rules?

    Thread Starter rotcorp

    (@rotcorp)

    RewriteCond %{HTTP_HOST} ^www.xxxxxx.com
    RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot)
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{HTTPS} !=on
    RewriteCond %{REQUEST_URI} !(\/){2}$
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{QUERY_STRING} !.+
    RewriteCond %{HTTP:Cookie} !(comment_author_|wordpress_logged_in|wp_woocommerce_session)
    RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
    RewriteCond /var/www/html/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) “/wp-content/cache/all/$1/index.html” [L]

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Can you clear, then deactivate the caching plugin? That might help.

    Thread Starter rotcorp

    (@rotcorp)

    not sure what happened, but it is no longer happening. thank you for your time

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Glad it’s solved!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cannot Preview Post’ is closed to new replies.