This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch asf-site-v2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/asf-site-v2 by this push:
new 40cedfd30d Update .htaccess
40cedfd30d is described below
commit 40cedfd30d1bccc9745e9ef8556f6842fb24f133
Author: Albumen Kevin <[email protected]>
AuthorDate: Thu Feb 16 07:55:13 2023 +0800
Update .htaccess
---
.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.htaccess b/.htaccess
index 51bd9f7418..61cbb0d858 100644
--- a/.htaccess
+++ b/.htaccess
@@ -17,7 +17,7 @@
RewriteCond "%{HTTP:Accept-Language}" ^zh
RewriteCond %{HTTP_HOST} !cn
RewriteCond %{HTTP_HOST} !static
- RewriteRule ^(.*)$ https://cn.dubbo.apache.org/$1 [L,R=302]
+ RewriteRule ^(.*)$ https://cn.dubbo.apache.org/$1 [L,R=301]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]