You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2023/05/06 16:41:49 UTC

[apisix-website] branch master updated: fix: update .htaccess (#1578)

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 d8c51b6bb26 fix: update .htaccess (#1578)
d8c51b6bb26 is described below

commit d8c51b6bb2630b9548326aaecaf6fb06e4582943
Author: Young <is...@outlook.com>
AuthorDate: Sun May 7 00:41:43 2023 +0800

    fix: update .htaccess (#1578)
---
 .htaccess | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.htaccess b/.htaccess
index 87bfddaea6b..e8a96904268 100644
--- a/.htaccess
+++ b/.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/"
+RedirectMatch 302 "^/docs/apisix/getting-started/$" "/docs/apisix/getting-started/README/"
+RedirectMatch 302 "^/zh/docs/apisix/getting-started/$" "/zh/docs/apisix/getting-started/README/"
 
 Redirect 301 "/docs/apisix/install" "/docs/apisix/how-to-build/"
 Redirect 301 "/docs/apisix/architecture-design/plugin/" "/docs/apisix/architecture-design/plugin-config/"