HTTP VS HTTPS

  1. 2 years ago

    richardhealy

    31 Mar 2015 Administrator

    I'm getting this bug in a template. It's because the template is using bootstrap and directly calling it via http. Some parts of the site are on https, i.e E-commerce pages. This is not a massive issue but causes ugly errors in the console.

    When referring to files that live one different servers i.e.

    http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0

    ...take the http: off the front of it... i.e.

    //maxcdn.bootstrapcdn.com/font-awesome/4.2.0/fonts/fontawesome-webfont.woff?v=4.2.0

    That way it will use http or https depend on what the site is using therefore avoiding the above issues.

or Sign Up to reply!