Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Nov 12, 2020
1 parent b569da2 commit 79df0b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Header set Access-Control-Allow-Headers: "*"
RewriteEngine On

RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
RewriteRule ^/(index.html)?$ "/zh/index.html" [L,R=301]
RewriteRule ^/?(index[.]html)?$ "/zh/index.html" [L,R=301]

RewriteCond "%{HTTP:Accept-Language}" ^en [NC]
RewriteRule ^/(index.html)?$ "/en/index.html" [L,R=301]
RewriteRule ^/?(index[.]html)?$ "/en/index.html" [L,R=301]

0 comments on commit 79df0b8

Please sign in to comment.