anchor redirects for root pages

Change-Id: I60e2f337b82137ea7795a514acc8b6596e5a3bd8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-07-21 14:42:59 -04:00 committed by Andreas Jaeger
parent ccd19216e5
commit eddacf1b34

View File

@ -5,10 +5,10 @@
# Redirect old top-level HTML pages to the version under most recent
# full release.
redirectmatch 301 /$ /{{RELEASED_SERIES}}/
redirectmatch 301 /index.html$ /{{RELEASED_SERIES}}/
redirectmatch 301 /openstack-projects.html$ /{{RELEASED_SERIES}}/projects.html
redirectmatch 301 /language-bindings.html$ /{{RELEASED_SERIES}}/language-bindings.html
redirectmatch 301 ^/$ /{{RELEASED_SERIES}}/
redirectmatch 301 ^/index.html$ /{{RELEASED_SERIES}}/
redirectmatch 301 ^/openstack-projects.html$ /{{RELEASED_SERIES}}/projects.html
redirectmatch 301 ^/language-bindings.html$ /{{RELEASED_SERIES}}/language-bindings.html
# Redirecting End-of-Life (EOL) versions, see https://wiki.openstack.org/wiki/Releases:
redirectmatch 301 /bexar/.*$ /index.html