SSL: Why does Chrome report mixed content? (Drupal 6)

前端 未结 6 2231
时光说笑
时光说笑 2021-01-17 18:22

I\'ve just got a site running nicely with the whole site running through SSL, but Google Chrome is throwing a \"This page contains some insecure elements\" message, which is

6条回答
  •  旧时难觅i
    2021-01-17 19:10

    I just had a similar problem. Turns out it was a hardcoded background image URL in a CSS file.

    You should particularly check any 3rd party stylesheets you are using, as they may hotlink to an image on another server.

    Easy solution? Save those images to your server and change the URLs to relative paths in the CSS file.

    Hope this helps!

提交回复
热议问题