• So we are using the most up to date version of WP and Avada theme. We also are using a CDN but made sure to select “Disable CDN on SSL pages”. However when you navigate to a SSL page such as the one below, you will notice the files below are still being called by the CDN url. Any ideas??

    https://finceldesign.com/my-account/

    /wp-content/themes/Avada/assets/fonts/fontawesome/font-awesome.css
    /wp-content/themes/Avada/assets/fonts/icomoon/icomoon.ttf
    /wp-content/themes/Avada/assets/fonts/icomoon/icomoon.woff

    See the social media icons on the sidebar and the footer. Unable to load these assets. Our CDN does not support SSL so we are unable to serve these assets even if we did enable SSL support.

    • This topic was modified 7 years, 10 months ago by FincelDesign.
Viewing 3 replies - 1 through 3 (of 3 total)
  • This file is being served over HTTPS directly from your server, as configured in the plugin:

    https://finceldesign.com/wp-content/cache/minify/a5ea6.x64222.css

    However, the references to fontawesome INSIDE that file have already been rewritten to use your CDN:

    @font-face{font-family:'FontAwesome';src:url('https://smhttp.11361.futurehostingcdn.com/8046241/images/wp-content/themes/Avada/assets/fonts/fontawesome/fontawesome-webfont.eot?v=4.7.0&x64222');

    To resolve this, you may need to disable minify on SSL pages as well, or find a way to serve separate minified CSS files to HTTP and HTTPS traffic.

    Thread Starter FincelDesign

    (@finceldesign)

    Well, I see what you mean, I just don’t have a way to do this through W3TC I don’t think. Has anyone else experienced this using Avada theme? Could it be fixed by changing or patching the theme file that is calling this css file?

    • This reply was modified 7 years, 10 months ago by FincelDesign.

    You could try excluding the fontawesome files in your minify and CDN settings, so that they’re always served over HTTPS from your primary domain.

    Alternatively, you could edit your theme’s main stylesheet to load fontawesome from a public CDN which supports HTTPS:

    https://cdnjs.com/libraries/font-awesome
    https://www.bootstrapcdn.com/fontawesome/

    Both options should eliminate the mixed-content error you see when visiting an HTTPS page that loads non-secure assets.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable CDN for SSL pages not working – Avada Theme’ is closed to new replies.