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 7585e1880 Fix news announcements
7585e1880 is described below

commit 7585e188041708dd2ddc5a8917c363de9896a335
Author: Martijn Visser <mvis...@confluent.io>
AuthorDate: Wed Feb 22 10:36:07 2023 +0100

    Fix news announcements
---
 content/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/.htaccess b/content/.htaccess
index a15c5cde2..624aa58e7 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -14,7 +14,7 @@ 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})/release-(\d+\.\d+\.\d+)\.html$ 
/posts/$2-$3-$4-release-$5/ [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

Reply via email to