Mixed Content Images

Started by StarredSkies, August 26, 2020, 01:03:14 PM

Previous topic - Next topic


My site has been converted to HTTP using steps from this guide, along with forcing it through CPanel. Recently we've been getting unsecured pages due to HTTP links from outside source images. This includes [img] codes, avatars, and images within the Post Template modification.

When converting these links to HTTPS within the post or reuploading them, the page goes back to being certified and secure. Nevertheless, this cannot be done by hand for every single HTTP image on site.

What can be done to ensure all of these mixed content links/images can automatically redirect to HTTPS? Any help would be appreciated. <3


That's what the image proxy is for.  Try enabling it! 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp


Correct me if I'm wrong, but hasn't there been issues with enabling the image proxy for already existing sites? Alternatively, disabling it too? That's why I am hesitant to do it... plus, I had no issues prior to today without it.


well, it is specifically what the proxy was intended for... and 2.0.17 should have corrected the issues with the proxy in 2.0.16

1- img tags...   you can force https by doing a replace SQL statement directly in the body column of the smf_messages table.
replace [img]http: with [img]https:

2- avatars -- you could do the same thing in the database

the problem with both 1 and 2 is that you don't know for sure that the site with those images actually IS https...

regarding 3 -- you'd have to correct the original mod pho/html in the code...

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."