You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2022/12/15 15:23:06 UTC

[dubbo-website] branch master updated: Update htaccess

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 20c4d4ad8ad Update htaccess
20c4d4ad8ad is described below

commit 20c4d4ad8ad44e67e57bf0b8697e611946034dab
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Thu Dec 15 23:22:31 2022 +0800

    Update htaccess
---
 .htaccess | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/.htaccess b/.htaccess
index 6ecc1bb5143..1e5538c77f2 100644
--- a/.htaccess
+++ b/.htaccess
@@ -26,15 +26,9 @@
 
   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-v2/java-sdk/faq/$1" [L,R=302]
 
   RewriteRule ^/?faq/?([\w\-/]+)?$ "/en/docs/java-sdk/faq/$1" [L,R=302]
 
-  RewriteCond "%{HTTP:Accept-Language}" ^zh [NC]
-  RewriteRule ^/?([\w\-]+)\.html$ "/zh/$1.html" [L,R=302]
-
-  RewriteRule ^/?([\w\-]+)\.html$ "/en/$1.html" [L,R=302]
-
 </IfModule>