This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch refactor/next
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/refactor/next by this push:
new 21c1047521 Update .htaccess
21c1047521 is described below
commit 21c10475218977724f704d03576eb7273be81ac5
Author: Albumen Kevin <[email protected]>
AuthorDate: Sat Feb 4 11:50:15 2023 +0800
Update .htaccess
---
.htaccess | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.htaccess b/.htaccess
index 4e97b793f0..2510685338 100644
--- a/.htaccess
+++ b/.htaccess
@@ -23,13 +23,14 @@
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
- RewriteRule ^/?(index\.html)?$ "/zh/index.html" [L,R=302]
+ RewriteRule ^/?(index\.html)?$ "/zh-cn/index.html" [L,R=302]
RewriteRule ^/?(index\.html)?$ "/en/index.html" [L,R=302]
RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
- RewriteRule ^/?faq/?([\w\-/]+)?$ "/zh/docs3-v2/java-sdk/faq/$1" [L,R=302]
+ RewriteRule ^/?faq/?([\w\-/]+)?$ "/zh-cn/docs3-v2/java-sdk/faq/$1" [L,R=302]
RewriteRule ^/?faq/?([\w\-/]+)?$ "/en/docs3-v2/java-sdk/faq/$1" [L,R=302]
+ RewriteRule ^/?zn/?([\w\-/]+)?$ "/zh-cn/$1" [L,R=302]
</IfModule>