Support » Plugin: Autoptimize » Non secure content when activating Autooptimizer

  • Resolved pronttto


    Hello Guys,

    I only have this issue with the Autooptimizer plugin since 2 days ago.
    Only for homepage, when activated I see a message with Page not secure, some parts of the page may not be secure like images.

    When the plugin is deactivated, there is no issue at all.

    The theme used is Travelicious

    Can you please help me out?

    I will leave the plugin activated so developers can see what is about

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters


    First and foremost try to identify what is causing by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can see what the next steps need to be 🙂


    Thread Starter pronttto


    The lazy load from your plugin was the issue. All the rest were fine.
    Can your team look into that and maybe get a fix for the next update?
    Theme is Travelicious purchased september last year.

    Thanks Frank

    Plugin Author Optimizing Matters


    Given this problem is specific to your site and not a generic issue with AO lazyload, this is probably not something that can (will) be fixed in an update pronttto.

    Looks like a conflict with another plugin or with the theme; if you have time it would be interesting to try to identify what the culprit is by disabling (and re-enabling) each plugin one at a time and (if neeeded) also switch themes for a minute?

    Hi @optimizingmatters !

    Actually I had me too an issue with the mixed content today.
    I use your (awesome) plugin (thanks for that!) on many websites, on the same server, since long time, and I never had this issue.

    -> Suddenly, all the cached files were loaded via http: and not httpS anymore.
    And it all happened automatically, I’m not even sure when. (I’m using the lazy load as well).
    Had to delete the /cache/autoptimize folder manually, before reactivating the plugin.

    Tell me if you need more info on my install.
    But for now it’s working again. Just wanted you to know about the problem.

    Thanks again for this amazing plugin.

    Plugin Author Optimizing Matters


    Suddenly, all the cached files were loaded via http: and not httpS anymore

    That does not seem to be related to the lazyload problem mentioned earlier Phil. AO uses the WordPress core content_url() function to get the URL to the wp-content directory. If for whatever reason that function returns http:// instead of https://, then the Autoptimized resources indeed will be loaded over http:// iso https:// … the question would indeed be why that would happen ..

    Yes indeed, I think so too.
    I only mentionned Lazy Load because OP mentionned it.

    It’s also weird since other websites are running in an almost same config.
    (Server is same, not the template), and this website itself is running since months now.
    BTW, wordpress is 5.4.2

    If the problem happens again, I’ll keep you in touch with more info about my config.
    Thank you for your quick reply!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Non secure content when activating Autooptimizer’ is closed to new replies.