can i move site from http to https due to mixed content warning

73 views Asked by At

I am facing Mixed content warning when i am trying to load files from http to https.

But now i am planning to move my site from http to https.

I need to know whether files will be loaded from

https -> https
https > http 

without any issues.

Thank you.

2

There are 2 answers

3
AudioBubble On

Just add the 2 script versions one with http in from and one with https just make sure the https files support https or it won't work still! Or if there on your system just add /file path and if not you can try to have files be //external file path don't add https or http in them!

0
Bogdan Perian On

Short version: YES, you will still face mixed content if the below cases are not treated, even after migration to https.

If you're migrating your website from http to https these are the two cases you need to consider that would still result in mixed content warning :

  • Your website is on https but you still have absolute paths starting with http:// in the source code ; you need to change them in the code
    • Your website contains URLs to external resources ( again absolute urls ) and they start with http:// ; in this case you need to check if the 3rd party serves content on https then change the URL accordingly; if not, you could just remove the http:// urls to get rid of the warning ( or make a copy of the resources locally and serve them on https )