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

  1. stephenmahood
    Posted 2 years ago #


    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?




  2. unhuman
    Posted 1 year 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
    Posted 1 year ago #

    CDN Settings page > SSL Support > Enabled

  4. yoav.aner
    Posted 1 year 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

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic