RewriteRule ^/novosti/old\.html$ /novosti/new.html [R=301,NC,L]
RewriteRule ^/albums/old/$ /albums/new/ [R=301,NC,L]
RewriteRule g6085516 https://mysite.ru/gipsovinil-gipsol1.html [R=301,NC,L]
RewriteRule p55184303.html https://mysite.ru/catalog/stroitelnyij-inventar/ [R=301,NC,L]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RewriteCond %{HTTP:HTTPS} !=on [NC]
RewriteRule ^(.*)$ https://www.gipsall.ru/$1 [R=301,L]
SetEnvIf X-Forwarded-Proto https HTTPS=on
- core/config/config.inc.php
- $url_scheme= $isSecureRequest ? 'https://' : 'http://';
+ $url_scheme= 'https://';