Fix redirects for fr and ja User Guide

The redirects matches *any* string containing user-guide, so it matched
also /fr/user-guide/content. Change the regex to not match these for
now.

Change-Id: I2aba634697ff0ea40fc398d7d872bf8a2843fddd
This commit is contained in:
Andreas Jaeger 2015-04-24 17:51:30 +02:00
parent 2e4d11b97f
commit d13a2cbb27

View File

@ -160,8 +160,8 @@ redirect 301 /user-guide-admin/content/nova_cli_migrate_single.html /user-guide-
# Since we don't have a direct match for all file, redirect to the index page.
redirectmatch 301 /user-guide/content/.*$ /user-guide/index.html
redirectmatch 301 /user-guide-admin/content/.* /user-guide-admin/index.html
redirectmatch 301 "^/user-guide/content/.*$" /user-guide/index.html
redirectmatch 301 "^/user-guide-admin/content/.*" /user-guide-admin/index.html
# All these files should be a direct match, file name for file name.
redirectmatch 301 /hot-guide/content/.* /user-guide/hot-guide/$1