You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/09/22 07:49:53 UTC

[pulsar-site] branch asf-site-next updated: Update .htaccess

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

urfree pushed a commit to branch asf-site-next
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/asf-site-next by this push:
     new 84de954f684 Update .htaccess
84de954f684 is described below

commit 84de954f684b2721a28dc9ead71829d51076c81a
Author: Li Li <ur...@apache.org>
AuthorDate: Thu Sep 22 15:49:49 2022 +0800

    Update .htaccess
---
 content/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/.htaccess b/content/.htaccess
index 42dbc48a331..de6a2a366bb 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -3,5 +3,5 @@ RewriteEngine On
 RewriteRule "^en/(.+)$" "/$1" [R=301,DPI,L]
 RewriteRule "^docs/en/(.+)$" "/docs/$1" [R=301,DPI,L]
 RewriteRule "^docs/(zh-CN|zh-TW|ja|ko|fr)/(.+)$" "/$1/docs/$2" [R=301,DPI,L]
-
+RewriteRule "^(zh-CN|zh-TW|ja|ko|fr)/(.+)$" "/docs/$2" [R=301,DPI,L]
 RewriteRule "^docs/(.*)develop-binary-protocol(.*)$" "/docs/$1developing-binary-protocol$2" [R=301,DPI,L]