Add redirects to latest version

For:
VPNaaS scenario
Glossary
CPU topologies
Hypervisors
OpenStack-Ansible LXC
and deploy

Change-Id: Ie48f20336d583681de3edb82bd07ff49e131d8e9
This commit is contained in:
Ivan Anfimov
2025-04-10 18:26:18 +00:00
parent 2e2a052612
commit bd0e874668
2 changed files with 36 additions and 0 deletions

View File

@@ -92,9 +92,26 @@ redirectmatch 301 (.*)//(.*) $1/$2
# Redirect networking-guide since it is now versioned
{{ dir_to_page('/networking-guide', '/neutron/latest/admin/') }}
# Redirect networking-guide to latest version
redirect 301 /newton/networking-guide/intro-basic-networking.html /neutron/latest/admin/intro-basic-networking.html
redirect 301 /ocata/networking-guide/intro-basic-networking.html /neutron/latest/admin/intro-basic-networking.html
# Redirect VPNaaS scenario to latest version
redirect 301 /neutron/rocky/admin/vpnaas-scenario.html /neutron/latest/admin/vpnaas-scenario.html
# Redirect Glossary to latest version
redirect 301 /mitaka/user-guide/common/glossary.html /glossary/common/glossary.html
# Redirect CPU topologies to latest version
redirect 301 /nova/pike/admin/cpu-topologies.html /nova/latest/admin/cpu-topologies.html
# Redirect Hypervisors to latest version
redirect 301 /ocata/config-reference/compute/hypervisors.html /nova/latest/admin/configuration/hypervisors.html
# Redirect OpenStack-Ansible LXC to latest version
redirect 301 /openstack-ansible-lxc_container_create/ocata/ /openstack-ansible-lxc_container_create/latest/
# Redirect old releases content to new location
{{ deep_links('/releases', 'https://releases.openstack.org/$1') }}
@@ -140,6 +157,7 @@ redirect 301 /ocata/networking-guide/intro-basic-networking.html /neutron/latest
{{ path_to_released_series('/admin', '/admin/') }}
{{ path_to_page('/latest/admin', '/' + SERIES_IN_DEVELOPMENT + '/admin/') }}
{{ dir_to_page('/latest', '/' + SERIES_IN_DEVELOPMENT + '/') }}
{{ path_to_page('/deploy/install', '/' + SERIES_IN_DEVELOPMENT + '/install/') }}
# Redirect some pages users search for
{{ path_to_page('/arch-design/content', '/arch-design/') }}

View File

@@ -104,9 +104,26 @@
# Redirect networking-guide since it is now versioned
{{ dir_to_page('/networking-guide', '/neutron/latest/admin/') }}
# Redirect networking-guide to latest version
/newton/networking-guide/intro-basic-networking.html 301 /neutron/latest/admin/intro-basic-networking.html
/ocata/networking-guide/intro-basic-networking.html 301 /neutron/latest/admin/intro-basic-networking.html
# Redirect VPNaaS scenario to latest version
/neutron/rocky/admin/vpnaas-scenario.html 301 /neutron/latest/admin/vpnaas-scenario.html
# Redirect Glossary to latest version
/mitaka/user-guide/common/glossary.html 301 /glossary/common/glossary.html
# Redirect CPU topologies to latest version
/nova/pike/admin/cpu-topologies.html 301 /nova/latest/admin/cpu-topologies.html
# Redirect Hypervisors to latest version
/ocata/config-reference/compute/hypervisors.html 301 /nova/latest/admin/configuration/hypervisors.html
# Redirect OpenStack-Ansible LXC to latest version
/openstack-ansible-lxc_container_create/ocata/ 301 /openstack-ansible-lxc_container_create/latest/
# Redirect old releases content to new location
{{ deep_links('/releases', 'https://releases.openstack.org') }}
@@ -157,6 +174,7 @@
{{ path_to_released_series('/admin', '/admin/') }}
{{ path_to_page('/latest/admin', '/' + SERIES_IN_DEVELOPMENT + '/admin/') }}
{{ dir_to_page('/latest', '/' + SERIES_IN_DEVELOPMENT + '/') }}
{{ path_to_page('/deploy/install', '/' + SERIES_IN_DEVELOPMENT + '/install/') }}
# Redirect some pages users search for
{{ path_to_page('/arch-design/content', '/arch-design/') }}