This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch next-asf-site
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/next-asf-site by this push:
new 8624b7fdf7 deploy: 21c10475218977724f704d03576eb7273be81ac5
8624b7fdf7 is described below
commit 8624b7fdf72d12d804bb2336e06d39be51fe88a3
Author: AlbumenJ <[email protected]>
AuthorDate: Sat Feb 4 03:53:52 2023 +0000
deploy: 21c10475218977724f704d03576eb7273be81ac5
---
.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>