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 84cddb43568 Update .htaccess
84cddb43568 is described below

commit 84cddb4356843e38072feeea786feb69508bc8c8
Author: Li Li <[email protected]>
AuthorDate: Thu Jun 23 09:22:03 2022 +0800

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

diff --git a/content/.htaccess b/content/.htaccess
index 18dad28be40..ad940597c6d 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -3,3 +3,4 @@ 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 "(.+/)?docs/(.+)/$" "$1/docs/$1" [R=301,DPI,L]

Reply via email to