RewriteEngine On
RewriteCond %{HTTP_HOST} ^(.+)\.site\.ru$
RewriteRule ^ https://site.ru/
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.okna-psk\.ru
RewriteRule ^(.*)$ https://okna-psk.ru/$1 [R=permanent,L]
RewriteCond %{HTTP:X-Forwarded-Protocol} !=https
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
RedirectMatch permanent ^(.*)?start=(.*)$ https://okna-psk.ru$1
RedirectMatch permanent ^(.*)/author/349-superuser$ https://okna-psk.ru$1
AddDefaultCharset UTF-8
Redirect 301 /component/k2/itemlist https://okna-psk.ru
RewriteRule ^(/component/jmap/sitemap) - [L]
RedirectMatch permanent ^(.*)/component/k2?start(.*)$ https://okna-psk.ru$1
RedirectMatch permanent ^(.*)/component/k2/(.*)$ https://okna-psk.ru$1
Redirect 301 /component/ https://okna-psk.ru
Redirect 301 /component/k2/kategoriya/productia https://okna-psk.ru
https://site.ru/component/jmap/sitemap/html?ver=4301