Options +FollowSymLinks
RewriteEngine On
#/index.php -> /
RewriteCond %{REQUEST_URI} /index.php
RewriteRule ^(.*)$ http://domain.ru/? [R=301,L]
#non-www to www
RewriteCond %{HTTP_HOST} ^([^www].*)$
RewriteRule ^(.*)$ http://www.%1/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www\.(.*)$
RewriteRule ^(.*)$ http://%1/$1 [L,R=301]
#http to https
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
#http to https
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{ENV:HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteRule ^ru/services/himicheskaya-promyshlennost/ /services/inzhenernye-izyskaniya/164/ [R=301,L]
RewriteRule ^(.*)$ http://domain.ru/$1 [R=301,L]
Нажимая кнопку «Оставить заявку», Вы даёте согласие на обработку Персональных данных.