Merge "Add some redirects"

This commit is contained in:
Jenkins 2017-08-03 10:47:55 +00:00 committed by Gerrit Code Review
commit b80db951cd

View File

@ -42,6 +42,20 @@ redirectmatch 301 ^/user-guide/.*$ /{{RELEASED_SERIES}}/user/
# Redirect removed ops guide
redirectmatch 301 ^/ops-guide/.*$ /{{RELEASED_SERIES}}/admin/
redirectmatch 301 ^/ops/.*$ /{{RELEASED_SERIES}}/admin/
# Redirect api list
redirectmatch 301 ^/api/.*$ /{{RELEASED_SERIES}}/api/
# Redirect old security index
redirectmatch 301 ^/sec/.*$ /security-guide/
# Redirect some pages users search for
redirectmatch 301 ^/user/.*$ /{{RELEASED_SERIES}}/user/
redirectmatch 301 ^/latest/user/.*$ /{{SERIES_IN_DEVELOPMENT}}/user/
redirectmatch 301 ^/admin/.*$ /{{RELEASED_SERIES}}/admin/
redirectmatch 301 ^/latest/admin/.*$ /{{SERIES_IN_DEVELOPMENT}}/admin/
redirect /glossary/content/glossary.html /contributor-guide/common/glossary.html
# Redirect changed directory name in the Contributor Guide
redirect 301 /contributor-guide/ui-text-guidelines.html /contributor-guide/ux-ui-guidelines/ui-text-guidelines.html