From eddacf1b3402853b486bd0783e442e34007d3ebc Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 21 Jul 2017 14:42:59 -0400 Subject: [PATCH] anchor redirects for root pages Change-Id: I60e2f337b82137ea7795a514acc8b6596e5a3bd8 Signed-off-by: Doug Hellmann --- www/.htaccess | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/.htaccess b/www/.htaccess index 1229b732fb..93d2d55ac5 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -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