diff --git a/.htaccess.BAK b/.htaccess.BAK deleted file mode 100644 index f092658..0000000 --- a/.htaccess.BAK +++ /dev/null @@ -1,14 +0,0 @@ - - # Редирект: ...// -> .../ - RewriteCond %{REQUEST_URI} (.*)\/\/$ - RewriteRule ^(.*)$ https://%{HTTP_HOST}/%1/ [R=301,L] - - # Редирект: с www -> без www - RewriteCond %{HTTP_HOST} ^www\.(.*)$ - RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] - - # Редирект: HTTP -> HTTPS - RewriteCond %{HTTP:X-Forwarded-Proto} !https - RewriteCond %{HTTPS} off - RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] - \ No newline at end of file