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/06/13 07:37:04 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 a03505fd8d8 Update .htaccess
a03505fd8d8 is described below

commit a03505fd8d8a1be665fa3a86da19093dd8d183ab
Author: Li Li <ur...@apache.org>
AuthorDate: Mon Jun 13 15:36:59 2022 +0800

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

diff --git a/content/.htaccess b/content/.htaccess
index c88e09bfe63..df085aeb526 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -2,3 +2,4 @@ RewriteEngine On
 
 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 "^(.*)/$" "/$1" [R=301,DPI,L]