• Resolved vintageuser

    (@vintageuser)


    Hi

    When I enable “lazy loading” feature of Smush plugin,

    in browser my site url turn into unsecure (http) URL instead of secure (https) URL.

    and When I disable “lazy loading” feature, then the site URL back to https.

    I also go to Wordpres >>Settings>>General and Save settings but Problem is still persist.

    My site is using Cloudflare SSL.

    I tried many browsers but same issue, the only way to resolve above issue is disable plugin or disable lazy load feature.

    Please tell me the solution to fix this issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @vintageuser,

    I hope you are doing well today!

    Your problem might be related to specific settings on Cloudflare or a compatibility issue. Here are few possible solutions:

    1. Update Smush plugin: The first step is to make sure that you are using the latest version of Smush plugin. If not, update it.
    2. Enable “Automatic HTTPS rewrites” in Cloudflare: Log in to your Cloudflare account, select your site, click on the ‘SSL/TLS’ application, select ‘Edge Certificates’ then in ‘Automatic HTTPS rewrites’ make sure it is enabled.
    3. Enable “Always Use HTTPS” in Cloudflare: In the same ‘SSL/TLS’ application of Cloudflare, under ‘Overview’, enable the ‘Always Use HTTPS’ option.
    4. Configure SSL in WordPress: If you are using an SSL plugin, make sure you have configured the plugin properly to use the https protocol.
    5. Check SSL in Cloudflare: If you are using SSL on your hosting and your DNS is proxied by Cloudflare, then try switching to Full and Full (Strict) option on Cloudflare SSL settings.
    6. Check if you have mixed content on your site: This could also be related to mixed content. When a user visits the HTTPS version of your website, all content, including images, scripts and other links, should be delivered over HTTPS. If some of these are still delivered over HTTP, then you have “mixed content.” This phenomenon is treated as non-secure by most modern browsers and could likely be the reason for this issue. A potential solution could be to search through your website’s code to find links that are still HTTP and manually update them to HTTPS. You can use DB search and replace plugins for that.

    Remember to clear your browser and website cache after making these changes to see if any of them worked.

    Kind regards,
    Zafer

    Thread Starter vintageuser

    (@vintageuser)

    Hi,

    I did these things, But the Problem is still persist, and https SSL is not working when Lazy Load is Activated.

    Here are the all answers:

    Update Smush plugin: The first step is to make sure that you are using the latest version of Smush plugin. If not, update it.

    Ans: Installed Smush plugin only 2 days ago so it is already latest released.

    Enable “Automatic HTTPS rewrites” in Cloudflare: Log in to your Cloudflare account, select your site, click on the ‘SSL/TLS’ application, select ‘Edge Certificates’ then in ‘Automatic HTTPS rewrites’ make sure it is enabled.

    Ans: Already Checked Enabled!!!

    Enable “Always Use HTTPS” in Cloudflare: In the same ‘SSL/TLS’ application of Cloudflare, under ‘Overview’, enable the ‘Always Use HTTPS’ option.

    Ans: Already Checked Enabled!!!

    Configure SSL in WordPress: If you are using an SSL plugin, make sure you have configured the plugin properly to use the https protocol.

    Ans: Not using any plugin for SSL

    Check SSL in Cloudflare: If you are using SSL on your hosting and your DNS is proxied by Cloudflare, then try switching to Full and Full (Strict) option on Cloudflare SSL settings.

    Ans: I did Full (Strict) option but when i try to access my website i get Error: invalid SSL certificate (Error code 526) so i go back to Full option.

    Check if you have mixed content on your site: This could also be related to mixed content. When a user visits the HTTPS version of your website, all content, including images, scripts and other links, should be delivered over HTTPS. If some of these are still delivered over HTTP, then you have “mixed content.” This phenomenon is treated as non-secure by most modern browsers and could likely be the reason for this issue. A potential solution could be to search through your website’s code to find links that are still HTTP and manually update them to HTTPS. You can use DB search and replace plugins for that.

    Ans: No mixed content, all content/links is on https

    Hope my answers will help you to find a solution for above issue.

    • This reply was modified 1 year, 1 month ago by vintageuser.
    • This reply was modified 1 year, 1 month ago by vintageuser. Reason: spellings
    • This reply was modified 1 year, 1 month ago by vintageuser.
    • This reply was modified 1 year, 1 month ago by vintageuser.
    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi again @vintageuser,

    Thanks for the update.

    Please also try changing the settings on Smush Lazy Load, check script loading on Header and Footer, and also activate Native Lazy Load.

    https://wpmudev.com/docs/wpmu-dev-plugins/smush/#scripts
    https://wpmudev.com/docs/wpmu-dev-plugins/smush/#native-lazy-load

    Please also make sure you don’t have any other image optimization plugins with lazy loading feature enabled or your theme does not include this feature and turned on already which can cause conflicts.

    Additionally, provide us the URL of your site that you are having the issue, so that we can take a look.

    Kind regards,
    Zafer

    Thread Starter vintageuser

    (@vintageuser)

    I tried to set script loading method on both Header and Footer, But SSL/https is still not working.

    I also enabled the Native Lazy Loading but problem still persist.

    Even i de-activate the all plugins i installed in wordpress except Smush But the problem will not go and SSL/https is not working.

    The only way problem is resolve and SSL/https will works, When i De-Activate the Lazy load function or De-Activate the Whole Smush Plugin.

    Thread Starter vintageuser

    (@vintageuser)

    Also one more thing i notice when i go to wordpress admin dashboard the SSL/https is working even Lazy Loading is Activated, but same time when i go to the website front-end the https will not works.

    I am using free version of Preferential Lite theme.

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @vintageuser

    Please note this is public forum and you should not share any site login details.

    Please email us at: [email protected]
    Subject: ATTN: WPMU DEV support – wp.org

    Please send:
    – Link back to this thread for reference (https://www.ads-software.com/support/topic/problem-smush-lazy-loading-ssl-not-working-http-instead-of-https/)
    so that we could review this case more for you

    Kind Regards,
    Kris

    Plugin Support Zafer – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @vintageuser,

    We haven’t heard from you in a while, we will go ahead and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind regards,
    Zafer

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem Smush lazy loading – SSL not working (http instead of https)’ is closed to new replies.