This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new cf3105452d Add jump
cf3105452d is described below

commit cf3105452d359eecb9e438534dc433b3d1c9214b
Author: Albumen Kevin <[email protected]>
AuthorDate: Fri Jul 15 15:12:13 2022 +0800

    Add jump
---
 .htaccess | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.htaccess b/.htaccess
index 621ba74f1d..347f3d1f3e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -21,6 +21,12 @@
 
   RewriteRule ^/?(index\.html)?$ "/en/index.html" [L,R=302]
 
+  # special redirection for examples & handbook
+  RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
+  RewriteRule ^/?faq/?([\w\-/]+)?$ "/zh/docs3-building/java-sdk/faq/$1" 
[L,R=302]
+
+  RewriteRule ^/?faq/?([\w\-/]+)?$ "/zh/docs3-building/java-sdk/faq/$1" 
[L,R=302]
+
   RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
   RewriteRule ^/?([\w\-]+)\.html$ "/zh/$1.html" [L,R=302]
 

Reply via email to