Add some redirects

Redirect some old pages properly to new locations.

Also, redirect pages users search for to proper locations.

The list adresses a few 404s from the last day, current list is
http://paste.openstack.org/show/617316/

Change-Id: I4289e4f802381ebdaf922355d5c07013dec4f8a3
This commit is contained in:
Andreas Jaeger 2017-08-02 22:05:11 +02:00
parent 5d319b699c
commit b5baa2ae63

@ -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