From 2ba2207b10133ed65ecdbd2ff53b55aaeb520c04 Mon Sep 17 00:00:00 2001 From: Frank Kloeker Date: Sat, 15 Sep 2018 21:25:56 +0200 Subject: [PATCH] Add redirect for latest version of Configuration Guide Change-Id: I78e995d8f0fda9d2896436174f72b861811aac53 --- www/.htaccess | 1 + www/redirect-tests.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/www/.htaccess b/www/.htaccess index 8d399f0122..f817307958 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -128,6 +128,7 @@ redirectmatch 301 (.*)//(.*) $1/$2 {{ path_to_page('/security-guide/content', '/security-guide/') }} # Redirect to series indexes +{{ path_to_page('/latest/configuration', '/' + SERIES_IN_DEVELOPMENT + '/configuration/') }} {{ path_to_page('/latest/install', '/' + SERIES_IN_DEVELOPMENT + '/install/') }} {{ path_to_released_series('/user', '/user/') }} {{ path_to_page('/latest/user', '/' + SERIES_IN_DEVELOPMENT + '/user/') }} diff --git a/www/redirect-tests.txt b/www/redirect-tests.txt index 697f5417e6..7a690fef43 100644 --- a/www/redirect-tests.txt +++ b/www/redirect-tests.txt @@ -145,6 +145,7 @@ {{ path_to_page('/security-guide/content', '/security-guide/') }} # Redirect to series indexes +{{ path_to_page('/latest/configuration', '/' + SERIES_IN_DEVELOPMENT + '/configuration/') }} {{ path_to_page('/latest/install', '/' + SERIES_IN_DEVELOPMENT + '/install/') }} {{ path_to_released_series('/user', '/user/') }} {{ path_to_page('/latest/user', '/' + SERIES_IN_DEVELOPMENT + '/user/') }}