Answer the question
In order to leave comments, you need to log in
How to redirect to https in Bitrix?
I know there are a lot of examples, nothing works.
htaccess standard
It turned out to do this, it works from www to https.
RewriteCond %{HTTP_HOST} ^www.buasenkv.ru
RewriteRule (.*) https://buasenkv.ru/$1 [R=301,L]
Answer the question
In order to leave comments, you need to log in
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Wrote here
https://klondike-studio.ru/standards/standartnyy-h...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question