• Resolved Deciso

    (@deciso)


    Hello,

    problem with Cache Enabler and HTTPS.

    When i open my site in the browser (Chrome/Safari) its redirect to:
    https://website.de/wp-content/cache/cache-enabler/website.de/index.html.gz

    I isolate that problem by the way. It only redirects like this, when i use http://website.de and not https://website.de for open the page.

    Any idea to fix this? Many users write me and report this error.

    EDIT: And of course i have a redirection for http to https and www to non-www in my .htacess.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} ^www\. [NC]
    RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
    RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
    </ifModule>
    • This topic was modified 9 years, 4 months ago by Deciso.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTTPS wrong redirection’ is closed to new replies.