Answer the question
In order to leave comments, you need to log in
How to display Yandex map when switching to https in Bitrix?
Hello! When translating a site to https, Yandex map is not loaded in Google Chrome due to mixed content. I tried all the methods that are described in blogs and forums:
$scheme = (CMain::IsHTTPS() ? "https" : "http");
- deleting this line from the component - and the address ://api-maps.yandex.ru/ is so relative.
Added at the end of the settings.php file:
'https_request' =>
array (
'value' => true,
),
$_SERVER['HTTPS'] = 'on';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question