This is an automated email from the ASF dual-hosted git repository. martijnvisser pushed a commit to branch asf-staging in repository https://gitbox.apache.org/repos/asf/flink-web.git
The following commit(s) were added to refs/heads/asf-staging by this push: new 6ab8b8410 Split rules for announcements and blog posts 6ab8b8410 is described below commit 6ab8b84108e47dc2fd369c46f401c18e50aa545a Author: Martijn Visser <mvis...@confluent.io> AuthorDate: Wed Feb 22 10:30:25 2023 +0100 Split rules for announcements and blog posts --- content/.htaccess | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/.htaccess b/content/.htaccess index 4f5424e47..624aa58e7 100644 --- a/content/.htaccess +++ b/content/.htaccess @@ -14,7 +14,8 @@ RewriteRule ^/?docs/(.*) https://nightlies.apache.org/flink/flink-docs-master/$1 # Generic redirect rule that should redirect users from all old blog posts to their new URLs # Example 1: https://flink.apache.org/news/2023/01/30/release-1.16.1.html to https://flink.apache.org/posts/2023-01-26-release-1.16.1/ # Example 2: https://flink.apache.org/2022/11/25/async-sink-rate-limiting-strategy.html to https://flink.apache.org/posts/2022-11-25-async-sink-rate-limiting-strategy/ -RewriteRule ^news/(\d{4})/(\d{2})/(\d{2})/(.+)\.html$ /posts/$1-$2-$3-$4/ [R=301,L] +RewriteRule ^news/(\d{4})/(\d{2})/(\d{2})/release-(\d+\.\d+\.\d+)\.html$ /posts/$1-$2-$3-release-$4/ [R=301,L] +RewriteRule ^(\d{4})/(\d{2})/(\d{2})/(.+)\.html$ /posts/$1-$2-$3-$4/ [R=301,L] # English URLs RewriteRule ^flink\-architecture\.html$ /what-is-flink/flink-architecture/ [R=301,L]