You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "SkyeYoung (via GitHub)" <gi...@apache.org> on 2023/05/06 16:41:03 UTC

[GitHub] [apisix-website] SkyeYoung commented on a diff in pull request #1578: Update .htaccess

SkyeYoung commented on code in PR #1578:
URL: https://github.com/apache/apisix-website/pull/1578#discussion_r1186719452


##########
.htaccess:
##########
@@ -40,8 +40,8 @@ Redirect 302 "/slack" "https://join.slack.com/t/the-asf/shared_invite/zt-1ugrg37
 Redirect 302 "/community-meeting-signup" "https://docs.google.com/forms/d/1C9bIJ3eh0bQrBdv4rPGxHDUvX4giNQ_IRCmDDOQ2mgE/"
 Redirect 302 "/contributor-workshop-signup" "https://docs.google.com/forms/d/1LUER3R9-aFsUm7MhjVd_CM1xAGnkuWIe62prFH5aqAE/"
 Redirect 302 "/guest-blog-post" "https://forms.gle/unQpSm7FyqkfaSSP8/"
-Redirect 302 "/docs/apisix/getting-started/$" "/docs/apisix/getting-started/README/"
-Redirect 302 "/zh/docs/apisix/getting-started/$" "/zh/docs/apisix/getting-started/README/"
+Redirect 302 /docs/apisix/getting-started/$ "/docs/apisix/getting-started/README/"
+Redirect 302 /zh/docs/apisix/getting-started/$ "/zh/docs/apisix/getting-started/README/"

Review Comment:
   ```suggestion
   RedirectMatch 302 "^/docs/apisix/getting-started/$" "/docs/apisix/getting-started/README/"
   RedirectMatch 302 "^/zh/docs/apisix/getting-started/$" "/zh/docs/apisix/getting-started/README/"
   ```



-- 
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-unsubscribe@apisix.apache.org

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