You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/09/16 14:23:31 UTC

[camel-website] branch master updated: fix: news to blog redirect (2)

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0de0a57  fix: news to blog redirect (2)
0de0a57 is described below

commit 0de0a570129ce2a2e70345fae08759972003199c
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Sep 16 16:23:27 2019 +0200

    fix: news to blog redirect (2)
---
 static/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/static/.htaccess b/static/.htaccess
index f16693a..27e7f21 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -8,7 +8,7 @@ RewriteRule "security-advisories.data/(.+)$" "security/$1" [R=permanent,L]
 ErrorDocument 404 /404.html
 
 # Redirect /news/... to /blog/...
-RewriteRule "news/(.*)$" "blog/$1" [R=permanent,L]
+RewriteRule "news(/.*)$" "blog$1" [R=permanent]
 
 # Redirect known links from old website. Not mapped links are commented out. Feel free to edit, if you find something missing.
 # Redirect 301 /EclipseMilo