F
F
Franco Mannino2017-03-23 12:57:56
htaccess
Franco Mannino, 2017-03-23 12:57:56

Is it possible that on a site on https, images are loaded using the http protocol?

Placed the following code in .htaccess

<FilesMatch ".*\.(jpe?g|gif|png)">
RewriteEngine off
</FilesMatch>


so that pictures are included in the Yandex search using the http protocol.
as a result, the output site:http://my.ru/ and site:https://my.ru/ correspond.

but when my.ru/image.png enters , it redirects to https://my.ru/image.png
and there is also a line
RewriteRule ^(.*)$ https://my.ru/$1 [R=301, L]

apparently it plays a role?

in this situation, in general, pictures can be displayed in the browser with http in the address bar?
Is it possible that on a site on https, images are loaded using the http protocol?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2017-03-23
@garinov

Perhaps, but browsers will complain about mixed content. It is not necessary to do so.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question