Baoyuantop commented on code in PR #1949:
URL: https://github.com/apache/apisix-website/pull/1949#discussion_r2281162937


##########
.htaccess:
##########
@@ -77,6 +77,8 @@ Redirect 301 
"/zh/blog/2021/11/30/use-apisix-ingress-in-kubesphere/httpbin.org/"
 Redirect 301 "/zh/blog/2021/08/25/Auth-with-Casbin-in-Apache-APISIX/" 
"/zh/blog/2021/08/18/auth-with-casbin-in-apache-apisix/"
 Redirect 301 "/zh/blog/2022/03/02/apisix-integration-graphql-plugin/" 
"/zh/blog/2022/03/02/apisix-integration-graphql/"
 
+RedirectMatch 301 "^/docs/ingress-controller/next/(.*)$" 
"/docs/ingress-controller/1.8.0/$1"

Review Comment:
   I agree with you that the current changes will affect the use of the 
existing next directory, and for long-term maintenance, preserving the existing 
next directory is necessary. I would modify the redirection rules to use more 
fine-grained rules, matching only specific paths rather than the entire next 
directory. This will increase the number of redirect records, but I think it is 
acceptable.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to