Skip to content
Permalink
Browse files
Revert htaccess changes
  • Loading branch information
AlbumenJ committed Apr 14, 2022
1 parent 6664bcd commit fadd50b1427a1eb66a60e85278036be1ea6434c2
Showing 1 changed file with 0 additions and 7 deletions.
@@ -2,11 +2,4 @@
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# language starts with ZH
RewriteCond %{HTTP:Accept-Language} ^zh [NC]
RewriteRule ^$ /zh/ [L,R=301]

# else redirect to the English version
RewriteRule ^$ /en/ [L,R=301]
</IfModule>

0 comments on commit fadd50b

Please sign in to comment.