• Resolved ontracconnor

    (@ontracconnor)


    Since I’ve moved to HTTPS recently the page now redirects to the /wp-content/cache/all//index.html folder. This causes issues with Analytics as most users now get directed to that link.

    I’ve tried adding the condition below to my .htaccess and it stops the redirect but also stops any redirection from HTTP to HTTPS.

    RewriteCond %{REQUEST_URI} !wp-content\/cache\/(all|wpfc-mobile-cache)

    Here is how I enter the rule

    # BEGIN HTTPS redirect
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} !wp-content\/cache\/(all|wpfc-mobile-cache)
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS redirect

    I’ve also tried disabling and re-enabling the plugin.

    I’d very much appreciate some help with this as it’s a fairly major issue.

    Thanks

    The page I need help with: [log in to see the link]

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

The topic ‘Switch to HTTPS now redirects to /wp-content/cache/all//index.html’ is closed to new replies.