[api] add redirect for translated quick-starts

This commit proposes to redirect translated api quick-start
documents, like the similar way as
docs.o.o/api/quick-start/content/ is redirected to
developer.o.o/api-guide/quick-start/ page.

Currently the following four language versions are applied
: de (German), ja (Japanese), ko_KR (Korean), zh_CN (Chinese).

Change-Id: I74c4434301e75654832f06cd9e74fcffe4e37706
Partial-Bug: #1608992
This commit is contained in:
Ian Y. Choi 2016-08-11 00:22:22 +09:00
parent 7b7e14a120
commit 7be1e39765

View File

@ -322,6 +322,10 @@ redirect 301 /developer/nova/nova.concepts.html /developer/nova/
# Redirect API Quick Start after migration to RST
redirect 301 /api/quick-start/content/ http://developer.openstack.org/api-guide/quick-start/
redirect 301 /de/api/quick-start/content/ http://developer.openstack.org/de/api-guide/quick-start/
redirect 301 /ja/api/quick-start/content/ http://developer.openstack.org/ja/api-guide/quick-start/
redirect 301 /ko_KR/api/quick-start/content/ http://developer.openstack.org/ko_KR/api-guide/quick-start/
redirect 301 /zh_CN/api/quick-start/content/ http://developer.openstack.org/zh_CN/api-guide/quick-start/
# Redirect old releases content to new location
redirectmatch 301 "^/releases.*$" http://releases.openstack.org$1