Title: CSS not loading on WP Engine with SSL enabled
Last modified: September 1, 2016

---

# CSS not loading on WP Engine with SSL enabled

 *  [redkite](https://wordpress.org/support/users/redkite/)
 * (@redkite)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/css-not-loading-on-wp-engine-with-ssl-enabled/)
 * When all pages use SSL, style.css isn’t loading with Autoptimize CSS optimization
   enabled. Disabling it lets style.css show normally. Purging the plugin’s cache
   doesn’t help, nor does excluding style.css. Here is the site:
 * [https://www.estespark.com/](https://www.estespark.com/)
 * Without SSL enabled style.css is fine with Autoptimize. Any suggestions?
 * [https://wordpress.org/plugins/autoptimize/](https://wordpress.org/plugins/autoptimize/)

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/css-not-loading-on-wp-engine-with-ssl-enabled/#post-7624825)
 * can you try setting your CDN root URL to [https://www.estespark.com](https://www.estespark.com)?
 * frank
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/css-not-loading-on-wp-engine-with-ssl-enabled/#post-7624860)
 * fyi; your post triggered me to:
    1. write [a blogpost that includes some code to enforce protocol-relative URL’s](http://blog.futtta.be/2016/08/02/how-to-force-autoptimize-to-output-protocol-relative-urls/)
   2. change the settings-screen to allow a protocol-relative URL for the CDN, which
   will be in [Autoptimize 2.1](https://wordpress.org/support/topic/preparing-for-autoptimize-210-wanna-test?replies=1)(
   out mid August, [feel free to download](https://downloads.wordpress.org/plugin/autoptimize.zip)&
   test), so you can enter `//www.estespark.com` as CDN root URL
 *  Thread Starter [redkite](https://wordpress.org/support/users/redkite/)
 * (@redkite)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/css-not-loading-on-wp-engine-with-ssl-enabled/#post-7624882)
 * I don’t have the ability to add https:// to the CDN root URL in WP Engine, so
   we’ll try it with your 2.1 release. Thanks for the quick response.
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/css-not-loading-on-wp-engine-with-ssl-enabled/#post-7624883)
 * > I don’t have the ability to add https:// to the CDN root URL in WP Engine
 * I meant on AO’s settings page 🙂

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

The topic ‘CSS not loading on WP Engine with SSL enabled’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [css not loading](https://wordpress.org/support/topic-tag/css-not-loading/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 4 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/css-not-loading-on-wp-engine-with-ssl-enabled/#post-7624883)
 * Status: not resolved