You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2023/02/24 09:27:42 UTC
[flink-web] 01/02: [FLINK-31206] Repair broken and missing redirect links
This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/flink-web.git
commit 9dc7f0cc1954ff4f845a34f9aeaa2723b345ba74
Author: Martijn Visser <mv...@confluent.io>
AuthorDate: Fri Feb 24 10:26:05 2023 +0100
[FLINK-31206] Repair broken and missing redirect links
---
_include/.htaccess | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
diff --git a/_include/.htaccess b/_include/.htaccess
index 137d174c2..a8bfda198 100644
--- a/_include/.htaccess
+++ b/_include/.htaccess
@@ -22,16 +22,15 @@ RewriteRule ^gettinghelp\.html$ /getting-help/ [R=301,L]
RewriteRule ^blog/$ /posts/ [R=301,L]
RewriteRule ^community\.html$ /community/ [R=301,L]
RewriteRule ^roadmap\.html$ /roadmap/ [R=301,L]
-RewriteRule ^contributing/how-to-contribute\.html$ /contribute/how-to-contribute/ [R=301,L]
-RewriteRule ^contributing/contribute-code\.html$ /contribute/contribute-code/ [R=301,L]
-RewriteRule ^contributing/reviewing-prs\.html$ /contribute/reviewing-prs/ [R=301,L]
-RewriteRule ^contributing/code-style-and-quality-preamble\.html$ /contribute/code-style-and-quality/preamble/ [R=301,L]
-RewriteRule ^contributing/code-style-and-quality-pull-requests\.html$ /contribute/code-style-and-quality/pull-requests/ [R=301,L]
-RewriteRule ^contributing/code-style-and-quality-common\.html$ /contribute/code-style-and-quality/common/ [R=301,L]
-RewriteRule ^contributing/code-style-and-quality-java\.html$ /contribute/code-style-and-quality/java/ [R=301,L]
-RewriteRule ^contributing/code-style-and-quality-scala\.html$ /contribute/code-style-and-quality/scala/ [R=301,L]
-RewriteRule ^contributing/code-style-and-quality-components\.html$ /contribute/code-style-and-quality/components/ [R=301,L]
-RewriteRule ^contributing/code-style-and-quality-formatting\.html$ /contribute/code-style-and-quality/formatting/ [R=301,L]
+RewriteRule ^contributing/how-to-contribute\.html$ /how-to-contribute/overview/ [R=301,L]
+RewriteRule ^contributing/contribute-code\.html$ /how-to-contribute/contribute-code/ [R=301,L]
+RewriteRule ^contributing/reviewing-prs\.html$ /how-to-contribute/reviewing-prs/ [R=301,L]
+RewriteRule ^contributing/code-style-and-quality-preamble\.html$ /how-to-contribute/code-style-and-quality-preamble/ [R=301,L]
+RewriteRule ^contributing/code-style-and-quality-pull-requests\.html$ /how-to-contribute/code-style-and-quality-pull-requests/ [R=301,L]
+RewriteRule ^contributing/code-style-and-quality-common\.html$ /how-to-contribute/code-style-and-quality-common/ [R=301,L]
+RewriteRule ^contributing/code-style-and-quality-java\.html$ /how-to-contribute/code-style-and-quality-java/ [R=301,L]
+RewriteRule ^contributing/code-style-and-quality-scala\.html$ /how-to-contribute/code-style-and-quality-scala/ [R=301,L]
+RewriteRule ^contributing/code-style-and-quality-components\.html$ /how-to-contribute/code-style-and-quality-components/ [R=301,L]
RewriteRule ^contributing/code-style-and-quality-formatting\.html$ /how-to-contribute/code-style-and-quality-formatting/ [R=301,L]
RewriteRule ^contributing/contribute-documentation\.html$ /how-to-contribute/contribute-documentation/ [R=301,L]
RewriteRule ^contributing-style\.html$ /how-to-contribute/documentation-style-guide/ [R=301,L]
@@ -39,7 +38,7 @@ RewriteRule ^contributing/improve-website\.html$ /how-to-contribute/improve-webs
RewriteRule ^security\.html$ /security/ [R=301,L]
# Chinese URLs
-RewriteRule ^zh/flink-architecture\.html$ /zh/what-is-flink/flink-architecture/ [R=301,L]
+RewriteRule ^zh/flink\-architecture\.html$ /zh/what-is-flink/flink-architecture/ [R=301,L]
RewriteRule ^zh/flink-applications\.html$ /zh/what-is-flink/flink-applications/ [R=301,L]
RewriteRule ^zh/flink-operations\.html$ /zh/what-is-flink/flink-operations/ [R=301,L]
RewriteRule ^zh/usecases\.html$ /zh/use-cases/ [R=301,L]
@@ -53,4 +52,13 @@ RewriteRule ^zh/contributing/how-to-contribute\.html$ /zh/how-to-contribute/over
RewriteRule ^zh/contributing/contribute-code\.html$ /zh/how-to-contribute/contribute-code/ [R=301,L]
RewriteRule ^zh/contributing/reviewing-prs\.html$ /zh/how-to-contribute/reviewing-prs/ [R=301,L]
RewriteRule ^zh/contributing/code-style-and-quality-preamble\.html$ /zh/how-to-contribute/code-style-and-quality-preamble/ [R=301,L]
-RewriteRule ^zh/contributing/code-style-and-quality-pull-requests\.html$ /zh/how-to-contribute/code-style-and-quality-pull-requ
+RewriteRule ^zh/contributing/code-style-and-quality-pull-requests\.html$ /zh/how-to-contribute/code-style-and-quality-pull-requests/ [R=301,L]
+RewriteRule ^zh/contributing/code-style-and-quality-common\.html$ /zh/how-to-contribute/code-style-and-quality-common/ [R=301,L]
+RewriteRule ^zh/contributing/code-style-and-quality-java\.html$ /zh/how-to-contribute/code-style-and-quality-java/ [R=301,L]
+RewriteRule ^zh/contributing/code-style-and-quality-scala\.html$ /zh/how-to-contribute/code-style-and-quality-scala/ [R=301,L]
+RewriteRule ^zh/contributing/code-style-and-quality-components\.html$ /zh/how-to-contribute/code-style-and-quality-components/ [R=301,L]
+RewriteRule ^zh/contributing/code-style-and-quality-formatting\.html$ /zh/how-to-contribute/code-style-and-quality-formatting/ [R=301,L]
+RewriteRule ^zh/contributing/contribute-documentation\.html$ /zh/how-to-contribute/contribute-documentation/ [R=301,L]
+RewriteRule ^zh/contributing-style\.html$ /zh/how-to-contribute/documentation-style-guide/ [R=301,L]
+RewriteRule ^zh/contributing/improve-website\.html$ /zh/how-to-contribute/improve-website/ [R=301,L]
+RewriteRule ^zh/security\.html$ /zh/security/ [R=301,L]