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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

zregvart
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 56551ed  fix: news to blog redirect
56551ed is described below

commit 56551ed13df06ad8f6968cb13c0e945f6b8e34fd
Author: Zoran Regvart <[hidden email]>
AuthorDate: Mon Sep 16 16:08:43 2019 +0200

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

diff --git a/static/.htaccess b/static/.htaccess
index be3934a..f16693a 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,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