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/06 17:25:36 UTC

[pulsar-site] 01/01: Fixed Rewrites by adding flags [R=301,DPI,L]

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

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

commit 1e1e583d56203df002dd471e2c5c5c6c2d55fe86
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Sun Mar 6 09:25:33 2022 -0800

    Fixed Rewrites by adding flags [R=301,DPI,L]
    
    Flags are described here: https://httpd.apache.org/docs/current/rewrite/flags.html
---
 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 a68be72..c88e09b 100755
--- a/site2/website-next/scripts/.htaccess
+++ b/site2/website-next/scripts/.htaccess
@@ -1,4 +1,4 @@
 RewriteEngine On
 
-RewriteRule "^docs/en/(.+)$" "/docs/$1" [R=301,L]
-RewriteRule "^docs/(zh-CN|zh-TW|ja|ko|fr)/(.+)$" "/$1/docs/$2" [R=301,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]