WordPress.org

Forums

W3 Total Cache
relative image links in CSS delivered by CDN(SSL) (4 posts)

  1. stephenmahood
    Member
    Posted 1 year ago #

    Hi,

    I have relative image, and font links within my CSS files. I have set up the CDN (MaxCDN) usign http and https using a comma seperated list of cname records.

    I am finding that when I visit my site via https these relative images and fonts are being served via the http CDN which is causing mixed content warnings.

    The relative links are replaced within the CSS file with an absolute URL okay, however this is one of the number of http CDNs rather than the SSL one.

    Is there anyway to force W3TC to always use SSL CDN if it is available?

    Thanks

    Stephen

    https://wordpress.org/plugins/w3-total-cache/

  2. unhuman
    Member
    Posted 6 months ago #

    Did you solve this? I'm currently devising a way to do just this now.... I'd think this would be a common problem, but it's hard to find anyone talking about this. Particularly, I want to version files by their contents so the CDN's benefits can be leveraged across product releases. Thanks!

  3. Willie Jackson
    Member
    Posted 6 months ago #

    CDN Settings page > SSL Support > Enabled

  4. yoav.aner
    Member
    Posted 3 months ago #

    I bumped into the same problem, and even after enabling SSL (Always use SSL) - those links are still HTTP :( All other links are fine, apart from those relative links inside CSS as the original poster mentioned.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic