Merge "Add redirects from /latest/install"

This commit is contained in:
Zuul 2018-02-16 21:23:45 +00:00 committed by Gerrit Code Review
commit dfaf33c469
2 changed files with 2 additions and 0 deletions

View File

@ -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/') }}

View File

@ -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/') }}