R
R
rinaz222021-03-25 20:26:25
HTML
rinaz22, 2021-03-25 20:26:25

Why is the site in the iframe loaded via http, although it costs https?

Hello. Loading some page of my site via iframe. Transferred to a new hosting and the iframe stopped loading. In the console next. mistake:

Mixed Content: The page at 'https://site.ru/demo/mi_band_41' was loaded over HTTPS, but requested an insecure frame 'http://site.ru/landings/mi_band_41/'. This request has been blocked; the content must be served over HTTPS.

The code specifies https, and the headers http. I understand that the problem is on the hosting side. What could be the reason.

PS: There is a redirect from http to https.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nadim Zakirov, 2021-03-25
@zkrvndm

You are trying to load a frame with an http site on an https site, but this is not possible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question