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 19:41:51 UTC

[pulsar-site] 01/01: Adjust .htaccess

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

wave pushed a commit to branch dave2wave-patch-1
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit d7dc45098466aaf7ed38256153ead3194c23299b
Author: Dave Fisher <da...@datastax.com>
AuthorDate: Sat Mar 5 11:41:44 2022 -0800

    Adjust .htaccess
---
 site2/website-next/scripts/.htaccess | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/site2/website-next/scripts/.htaccess b/site2/website-next/scripts/.htaccess
index a8b4b91..de7293c 100755
--- a/site2/website-next/scripts/.htaccess
+++ b/site2/website-next/scripts/.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]