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:36:51 UTC

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

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 daade67  fix: news to blog redirect (3)
daade67 is described below

commit daade67c762cd3f0618f02acaa85ca2d3a2eed33
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Sep 16 16:36:47 2019 +0200

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

diff --git a/static/.htaccess b/static/.htaccess
index 27e7f21..cf12705 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]
+RewriteRule "news(/.*)$" "/blog$1" [R=permanent,L]
 
 # Redirect known links from old website. Not mapped links are commented out. Feel free to edit, if you find something missing.
 # Redirect 301 /EclipseMilo