Rework redirections of old content
Add redirect for old locations. Fix redirects to go to current location. Use redirectmatch for those guides that are completely reorganized so that all links will go to the index.html page. Change-Id: I59c61b77d6f11cc577930e389dfb21fec91644ad
This commit is contained in:
parent
380e2cd00a
commit
1bf1bc686f
@ -1,8 +1,8 @@
|
||||
# Redirect for the original version of compute
|
||||
redirect 301 /openstack-compute/ /trunk/openstack-compute/
|
||||
# Redirect for the original version of compute to apt (could be yum, analytics show more seek apt)
|
||||
redirect 301 /openstack-compute/ /trunk/install-guide/install/apt/
|
||||
|
||||
# Redirect for the original version of storage
|
||||
redirect 301 /openstack-object-storage/ /trunk/openstack-object-storage/
|
||||
redirectmatch 301 /openstack-object-storage/.*$ /admin-guide-cloud/content/
|
||||
|
||||
# Redirect for the 1.1 version of the Compute API going to v2
|
||||
redirect 301 /api/openstack-compute/1.1/ /api/openstack-compute/2/
|
||||
@ -24,20 +24,24 @@ redirect 301 /cactus/ /trunk/
|
||||
redirect 301 /bexar/ /trunk/
|
||||
|
||||
# Redirecting incubation quantum
|
||||
redirect 301 /incubation/openstack-network/admin/content/ /trunk/openstack-network/admin/content
|
||||
redirectmatch 301 /incubation/openstack-network/admin/content/.*$ /trunk/
|
||||
redirect 301 /incubation/openstack-network/developer/quantum-api-1.0/content/ /api/openstack-network/1.0/content/
|
||||
|
||||
# Redirecting old install guide to apt (could be yum, analytics show more seek apt)
|
||||
redirect 301 /trunk/openstack-compute/install/content /trunk/openstack-compute/install/yum/content
|
||||
redirect 301 /trunk/openstack-compute/install/content /trunk/install-guide/install/apt/content
|
||||
|
||||
# Redirecting trunk basic install to install guide
|
||||
redirect 301 /trunk/basic-install/apt/content /trunk/install-guide/apt/content/
|
||||
redirect 301 /trunk/basic-install/yum/content /trunk/install-guide/yum/content/
|
||||
redirectmatch 301 /trunk/basic-install/apt/.*$ /trunk/install-guide/install/apt/content/
|
||||
redirectmatch 301 /trunk/basic-install/yum/.*$ /trunk/install-guide/install/yum/content/
|
||||
|
||||
# Redirect old trunk Install Guide
|
||||
redirectmatch 301 /trunk/openstack-compute/install/apt/.*$ /trunk/install-guide/install/apt/content/
|
||||
redirectmatch 301 /trunk/openstack-compute/install/yum/.*$ /trunk/install-guide/install/yum/
|
||||
|
||||
# Redirecting trunk admin guides to admin-guide-cloud
|
||||
redirect 301 /trunk/openstack-block-storage/admin/content/ /admin-guide-cloud/content/
|
||||
redirect 301 /trunk/openstack-compute/admin/content/ /admin-guide-cloud/content/
|
||||
redirect 301 /trunk/openstack-object-storage/admin/content/ /admin-guide-cloud/content/
|
||||
redirectmatch 301 /trunk/openstack-block-storage/admin/content/.*$ /admin-guide-cloud/content/
|
||||
redirectmatch 301 /trunk/openstack-compute/admin/content/.*$ /admin-guide-cloud/content/
|
||||
redirectmatch 301 /trunk/openstack-object-storage/admin/content/.*$ /admin-guide-cloud/content/
|
||||
|
||||
# Redirecting Image Guide to new location
|
||||
redirect 301 /trunk/openstack-image/content/ /image-guide/content
|
||||
@ -64,3 +68,12 @@ redirect 301 /cli/ /
|
||||
|
||||
# Redirect old identity/api to api site
|
||||
redirectmatch /identity/api/.*$ http://api.openstack.org/
|
||||
|
||||
# Redirect Training Guide to new location
|
||||
redirect 301 /trunk/openstack-training/ trunk/training-guide/
|
||||
|
||||
# Redirect Configuration Reference to new location
|
||||
redirect 301 /trunk/openstack-config/ trunk/config-reference/
|
||||
|
||||
# Redirect Network Guide to index.page
|
||||
redirectmatch 301 /trunk/openstack-network/admin/content/.*$ /trunk/
|
||||
|
Loading…
Reference in New Issue
Block a user