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 4a1aec161e1 Update .htaccess
4a1aec161e1 is described below
commit 4a1aec161e186078f8da3e1edc861a2756f646cf
Author: Li Li <[email protected]>
AuthorDate: Thu Sep 22 15:51:56 2022 +0800
Update .htaccess
---
content/.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/.htaccess b/content/.htaccess
index bb7e20d86c9..55d3182ff65 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)/(.+)$" "/$2" [R=301,DPI,L]
+RewriteRule "^(zh-CN|zh-TW|ja|ko|fr)/docs/(.+)$" "/docs/$2" [R=301,DPI,L]
RewriteRule "^docs/(.*)develop-binary-protocol(.*)$"
"/docs/$1developing-binary-protocol$2" [R=301,DPI,L]