This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git
The following commit(s) were added to refs/heads/master by this push:
new fd793bc8d8c fix: error 301 redirect (#1210)
fd793bc8d8c is described below
commit fd793bc8d8c7ad7d691ae7de0322f86e3edfa1d5
Author: Young <[email protected]>
AuthorDate: Tue Jul 12 18:10:10 2022 +0800
fix: error 301 redirect (#1210)
---
.htaccess | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/.htaccess b/.htaccess
index 8fcd01ee3d0..2aada8315bf 100644
--- a/.htaccess
+++ b/.htaccess
@@ -10,7 +10,7 @@ ErrorDocument 404 /404.html
ErrorDocument 403 /404.html
RewriteEngine on
-CheckSpelling on
+CheckSpelling on
Options -Indexes
@@ -20,7 +20,6 @@ Options -Indexes
Header set Access-Control-Allow-Headers "*"
</IfModule>
-
<IfModule mod_expires.c>
ExpiresActive on
@@ -32,10 +31,10 @@ Options -Indexes
ExpiresByType application/javascript "access plus 1 hour"
ExpiresByType application/json "access plus 1 hour"
ExpiresDefault "access plus 10 days"
+
</IfModule>
Redirect 301 "/docs/apisix/install" "/docs/apisix/how-to-build/"
-Redirect 301 "/docs/apisix/plugins/" "/docs/apisix/plugins/batch-requests/"
Redirect 301 "/docs/apisix/architecture-design/plugin/"
"/docs/apisix/architecture-design/plugin-config/"
Redirect 301 "/docs/apisix/2.13/FAQ/plugins.md/"
"/docs/apisix/2.13/architecture-design/plugin/"
Redirect 301
"/docs/ingress-controller/practices/proxy-the-httpbin-service-with-ingress"
"/docs/ingress-controller/tutorials/proxy-the-httpbin-service-with-ingress/"
@@ -44,10 +43,9 @@ Redirect 301
"/blog/2021/08/14/contributors-the-golden-metric-of-openSource-proj
Redirect 301 "/blog/2022/02/10/apisix-splunk-integration/"
"/blog/2022/02/10/splunk-apisix-integration/"
Redirect 301
"/blog/2021/08/31/Apache%20APISIX%20×%20KubeSphere-a-better-gateway-and-K8S-Ingress-Controller/"
"/blog/2021/08/31/apache-apisix-kubeSphere-a-better-gateway-and-k8s-ingress-controller/"
Redirect 301 "/blog/2021/11/30/use-apisix-ingress-in-kubesphere/httpbin.org/"
"/blog/2021/11/30/use-apisix-ingress-in-kubesphere/"
-Redirect 301 "/blog/2021/08/18/auth-with-casbin-in-apache-apisix/"
"/blog/2021/08/25/Auth-with-Casbin-in-Apache-APISIX"
+Redirect 301 "/blog/2021/08/18/auth-with-casbin-in-apache-apisix/"
"/blog/2021/08/25/Auth-with-Casbin-in-Apache-APISIX/"
Redirect 301 "/zh/docs/apisix/install" "/zh/docs/apisix/how-to-build/"
-Redirect 301 "/zh/docs/apisix/plugins/"
"/zh/docs/apisix/plugins/batch-requests/"
Redirect 301 "/zh/docs/apisix/architecture-design/plugin/"
"/zh/docs/apisix/architecture-design/plugin-config/"
Redirect 301 "/zh/docs/apisix/2.13/FAQ/plugins.md/"
"/zh/docs/apisix/2.13/architecture-design/plugin/"
Redirect 301
"/zh/docs/ingress-controller/practices/proxy-the-httpbin-service-with-ingress"
"/zh/docs/ingress-controller/tutorials/proxy-the-httpbin-service-with-ingress/"
@@ -56,4 +54,4 @@ Redirect 301
"/zh/blog/2021/08/14/contributors-the-golden-metric-of-openSource-p
Redirect 301 "/zh/blog/2022/02/10/apisix-splunk-integration/"
"/zh/blog/2022/02/10/splunk-apisix-integration/"
Redirect 301
"/zh/blog/2021/08/31/Apache%20APISIX%20×%20KubeSphere-a-better-gateway-and-K8S-Ingress-Controller/"
"/zh/blog/2021/08/31/apache-apisix-kubeSphere-a-better-gateway-and-k8s-ingress-controller/"
Redirect 301
"/zh/blog/2021/11/30/use-apisix-ingress-in-kubesphere/httpbin.org/"
"/zh/blog/2021/11/30/use-apisix-ingress-in-kubesphere/"
-Redirect 301 "/zh/blog/2021/08/18/auth-with-casbin-in-apache-apisix/"
"/zh/blog/2021/08/25/Auth-with-Casbin-in-Apache-APISIX"
\ No newline at end of file
+Redirect 301 "/zh/blog/2021/08/18/auth-with-casbin-in-apache-apisix/"
"/zh/blog/2021/08/25/Auth-with-Casbin-in-Apache-APISIX"