From ba5a1df6bb4b4038fe967c8a6b947d1855eb682b Mon Sep 17 00:00:00 2001 From: "Ian Y. Choi" Date: Fri, 16 Feb 2018 13:35:07 +0000 Subject: [PATCH] Add redirects from /latest/install docs.o.o/latest/install -> install guides in development Change-Id: I927973880a37733d92bc85de33609b1b96d93f01 Closes-Bug: #1743283 --- www/.htaccess | 1 + www/redirect-tests.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/www/.htaccess b/www/.htaccess index 33f8d058a1..9cf0a01c97 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -118,6 +118,7 @@ redirectmatch 301 (.*)//(.*) $1/$2 {{ path_to_page('/security-guide/content', '/security-guide/') }} # Redirect to series indexes +{{ path_to_page('/latest/install', '/' + SERIES_IN_DEVELOPMENT + '/install/') }} {{ path_to_released_series('/user', '/user/') }} {{ path_to_page('/latest/user', '/' + SERIES_IN_DEVELOPMENT + '/user/') }} {{ path_to_released_series('/admin', '/admin/') }} diff --git a/www/redirect-tests.txt b/www/redirect-tests.txt index 598122d9fc..1bae9b1f17 100644 --- a/www/redirect-tests.txt +++ b/www/redirect-tests.txt @@ -135,6 +135,7 @@ {{ path_to_page('/security-guide/content', '/security-guide/') }} # Redirect to series indexes +{{ path_to_page('/latest/install', '/' + SERIES_IN_DEVELOPMENT + '/install/') }} {{ path_to_released_series('/user', '/user/') }} {{ path_to_page('/latest/user', '/' + SERIES_IN_DEVELOPMENT + '/user/') }} {{ path_to_released_series('/admin', '/admin/') }}