Support » Plugin: Cache Enabler » Enabling cache-enabler causes mixed content over https

Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter justin-bigscoots

    (@justin-bigscoots)

    All sites are running the plugin really-simple-ssl and just found:

    https://wordpress.org/support/topic/mixed-content-filter-not-working-with-cache-enabler-plugin/

    Still not sure if this means the issue is with cache-enabler or reallysimplessl

    We also get this issue with Really Simple SSL

    Carl

    (@carlconrad)

    I’ve got the same issue on several sites. More, it seems to severely slow down the admin interface. I will probably look for another solution.

    • This reply was modified 6 years, 8 months ago by Carl.

    I’ve got the same errors on my sites. Any news on this topic? I don’t use Really Simple SSL but Autoptimize for generating the compact css-files.

    Have you ensured that you’ve updated all references of HTTP to HTTPS and that you’re 301 redirecting your site to HTTPS? Perhaps this guide will help to ensure you haven’t missed anything: https://www.keycdn.com/blog/http-to-https/

    I’m personally running a few websites over HTTPS and using Cache Enabler but have never run into any issues with mixed content.

    I do have the same issue on my site since I use Cache Enabler and SSL. Everything is redirected correctly and working. But some pages are randomly broken. If I clear the cache, everything works fine. But after few hours, days,… some of random pages are broken again. Autoptimize is used too.

    • This reply was modified 6 years, 5 months ago by danielbaer.

    Can anyone who experienced this issue please provide a screenshot of their Cache Enabler settings so that I can see if there is a pattern.

    Here are my settings:
    http://d.pr/i/VYJV7l

    Where is the HTTPS redirection happening in your .htaccess file? If it is not at the top of the file can you try moving there and trying again? Also are any of the files causing the mixed content issues accessible directly over HTTP?

    The content isn’t accessible directly over HTTP.

    This is the first part of my .htaccess:

    # BEGIN WordPress
    <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
    
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule (.*) https://www.anydomain.de/$1 [L]
    

    In my .htaccess is:

    # BEGIN WordPress
    <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
    
    Header add Access-Control-Allow-Origin "*" 
    
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    @danielbaer @flinkthink can you provide the website URLs where this issue is happening? Please also include the URL an example asset that returns a mixed-content error so I can take a closer look.

    Hey @codyarsenault …. seems like the folks on here went MIA, but I also do have this issue and would love to troubleshoot it. I’m finding it’s happening on my web dev biz website. Seems random right now, and I just cleared my cache so all is fine at the moment. But I have the same thing as @danielbaer reported, all is good at first, then after an unknown period of time, I return to my site to find certain pages have mixed content warning errors all of a sudden and the pages look broken.

    By looking broken I mean that I’ve noticed the mixed content issue pages seem to have no CSS loading anymore. I’ll have to double check it next time it happens, as usually I just freak out and clear my cache right away. 🙂 When I do that, the mixed content issue is gone and the page returns to it’s proper fully loaded CSS appearance.

    Hey @onetrev,

    Are you using the default configuration for Cache Enabler (i.e. no advanced config)? Next time the issue occurs could you try to grab a screenshot of the Console tab in Chrome? Also, how often does the issue occur? Is it sporadic or have you notice it happen after X amount of time?

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Enabling cache-enabler causes mixed content over https’ is closed to new replies.