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