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/06/14 21:43:55 UTC
[pulsar-site] branch asf-site-next updated: RewriteRule "^en/(.+)$" "/$1" [R=301,DPI,L]
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 93346db842a RewriteRule "^en/(.+)$" "/$1" [R=301,DPI,L]
93346db842a is described below
commit 93346db842a28f282b4746be1d95866e10ec2ba3
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Tue Jun 14 14:43:52 2022 -0700
RewriteRule "^en/(.+)$" "/$1" [R=301,DPI,L]
---
content/.htaccess | 1 +
1 file changed, 1 insertion(+)
diff --git a/content/.htaccess b/content/.htaccess
index c88e09bfe63..18dad28be40 100755
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -1,4 +1,5 @@
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]