Title: When CDN enabled -&gt; https access breaks CSS formatting
Last modified: August 20, 2016

---

# When CDN enabled -> https access breaks CSS formatting

 *  [houmie](https://wordpress.org/support/users/houmie/)
 * (@houmie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/when-cdn-enabled-https-access-breaks-css-formatting/)
 * Hi,
 * When all W3 caching options but the CDN are enabled, the page loads fine.
 * [http://www.chasebot.com](http://www.chasebot.com) –> OK
    [https://www.chasebot.com](https://www.chasebot.com)–
   > OK
 * but as soon as CDN (Amazon CloudFront) is also enabled, https access to the site
   breaks the whole site formatting, while the normal http access remains ok
 * [http://www.chasebot.com](http://www.chasebot.com) –> OK
    [https://www.chasebot.com](https://www.chasebot.com)–
   > Breaks the page
 * How can I fix this problem just in case the user uses https for accessing the
   site?
 * Many Thanks,
    Hooman
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Pothi Kalimuthu](https://wordpress.org/support/users/pothi/)
 * (@pothi)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/when-cdn-enabled-https-access-breaks-css-formatting/#post-3434849)
 * Did you try to enable the option “Disable CDN on SSL pages”?
 * Your site seems to have 9 CSS files. You may want to check what actually breaks
   the home page and exclude it specifically or troubleshoot the root cause of the
   issue.
 *  Thread Starter [houmie](https://wordpress.org/support/users/houmie/)
 * (@houmie)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/when-cdn-enabled-https-access-breaks-css-formatting/#post-3434853)
 * Thanks Poti, actually around teh time you responded, I had my CDN off in order
   to update the website 🙂 I recon you couldn’t experience the problem.
 * Nonetheless by activating “Disable CDN on SSL pages”, it works now like a charm.
 * It is a bit of a shame that CDN doesn’t work with SSL. Is it intended or part
   of a bigger configuration or something I haven’t done yet?
 * Thanks
 *  [Pothi Kalimuthu](https://wordpress.org/support/users/pothi/)
 * (@pothi)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/when-cdn-enabled-https-access-breaks-css-formatting/#post-3434866)
 * >> Is it intended or part of a bigger configuration or something I haven’t done
   yet?
 * Not sure, where things went wrong. There are multiple things that can go wrong,
   a bug in the plugin, a mis-configuration in the Amazon CloudFront, etc.
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/when-cdn-enabled-https-access-breaks-css-formatting/#post-3434902)
 * A bug submission form submitted from the support tab of the plugin is needed 
   to help here.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘When CDN enabled -> https access breaks CSS formatting’ is closed to 
new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/when-cdn-enabled-https-access-breaks-css-formatting/#post-3434902)
 * Status: not resolved