Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

haizone's avatar

how to add http iframe in https page?

i have a site with https but i have a iframe in my site that is a http site

how i can got that work? i get an error like that in console: Mixed Content: The page at 'https://......' was loaded over HTTPS, but requested an insecure resource 'http://...'. This request has been blocked; the content must be served over HTTPS.

0 likes
1 reply
jlrdw's avatar

Usually an iframe from an http site isn't allowed on an https site page, is there another way you can display the content? Or possibly have the other site changed to https also.

Perhaps google this for some sort of proxy workaround.

Please or to participate in this conversation.