You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by wa...@apache.org on 2022/03/05 20:06:34 UTC

[pulsar-site] branch asf-site-next updated: Direct update of .htaccess in order to test

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

wave 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 c1ae54a  Direct update of .htaccess in order to test
c1ae54a is described below

commit c1ae54a9c60a914208354bbf2161cb17d09c80d7
Author: Dave Fisher <da...@datastax.com>
AuthorDate: Sat Mar 5 12:06:29 2022 -0800

    Direct update of .htaccess in order to test
---
 content/.htaccess | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/.htaccess b/content/.htaccess
index a8b4b91..de7293c 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -1,4 +1,4 @@
 RewriteEngine On
 
-RewriteRule "^docs/en/(.+)$" "docs/$1"
-RewriteRule "^docs/(zh-CN|zh-TW|ja|ko|fr)/(.+)$" "$1/docs/$2"
\ No newline at end of file
+RewriteRule "^docs/en/(.+)$" "docs/$1" [R=301,L]
+RewriteRule "^docs/(zh-CN|zh-TW|ja|ko|fr)/(.+)$" "$1/docs/$2" [R=301,L]