From 7c71e733fb8b93c47bae777d480cf217abca7a45 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 20 Jan 2020 09:01:16 -0800 Subject: [PATCH] Update redirects Add redirects for recent flattening (removing admins/ and users/ from hierarchy). Change-Id: I4dae892a5bfd53b5763e5381ba77ffb88ed96bd9 --- www/.htaccess | 59 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 19 deletions(-) diff --git a/www/.htaccess b/www/.htaccess index 20549e0..654ef8f 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -1,8 +1,8 @@ # Temporary redirect from "/start" convenience URL to the Quick Start Tutorial -redirectmatch 302 ^/start(/)?$ /docs/zuul/tutorials/admins/quick-start.html +redirectmatch 302 ^/start(/)?$ /docs/zuul/tutorials/quick-start.html # Permanent redirects for documents which have moved in the past -redirectmatch 301 ^/docs/zuul/admin/centos7_setup.html /docs/zuul/howtos/admins/centos7_setup.html +redirectmatch 301 ^/docs/zuul/admin/centos7_setup.html /docs/zuul/howtos/centos7_setup.html redirectmatch 301 ^/docs/zuul/admin/client.html /docs/zuul/reference/client.html redirectmatch 301 ^/docs/zuul/admin/components.html /docs/zuul/discussion/components.html redirectmatch 301 ^/docs/zuul/admin/connections.html /docs/zuul/reference/connections.html @@ -15,21 +15,21 @@ redirectmatch 301 ^/docs/zuul/admin/drivers/smtp.html /docs/zuul/reference/drive redirectmatch 301 ^/docs/zuul/admin/drivers/sql.html /docs/zuul/reference/drivers/sql.html redirectmatch 301 ^/docs/zuul/admin/drivers/timer.html /docs/zuul/reference/drivers/timer.html redirectmatch 301 ^/docs/zuul/admin/drivers/zuul.html /docs/zuul/reference/drivers/zuul.html -redirectmatch 301 ^/docs/zuul/admin/fedora27_setup.html /docs/zuul/howtos/admins/fedora27_setup.html -redirectmatch 301 ^/docs/zuul/admin/gerrit_setup.html /docs/zuul/howtos/admins/gerrit_setup.html -redirectmatch 301 ^/docs/zuul/admin/github_setup.html /docs/zuul/howtos/admins/github_setup.html -redirectmatch 301 ^/docs/zuul/admin/installation.html /docs/zuul/howtos/admins/installation.html +redirectmatch 301 ^/docs/zuul/admin/fedora27_setup.html /docs/zuul/howtos/fedora27_setup.html +redirectmatch 301 ^/docs/zuul/admin/gerrit_setup.html /docs/zuul/howtos/gerrit_setup.html +redirectmatch 301 ^/docs/zuul/admin/github_setup.html /docs/zuul/howtos/github_setup.html +redirectmatch 301 ^/docs/zuul/admin/installation.html /docs/zuul/howtos/installation.html redirectmatch 301 ^/docs/zuul/admin/monitoring.html /docs/zuul/reference/monitoring.html -redirectmatch 301 ^/docs/zuul/admin/nodepool_install.html /docs/zuul/howtos/admins/nodepool_install.html -redirectmatch 301 ^/docs/zuul/admin/nodepool_openstack.html /docs/zuul/howtos/admins/nodepool_openstack.html -redirectmatch 301 ^/docs/zuul/admin/nodepool_static.html /docs/zuul/howtos/admins/nodepool_static.html +redirectmatch 301 ^/docs/zuul/admin/nodepool_install.html /docs/zuul/howtos/nodepool_install.html +redirectmatch 301 ^/docs/zuul/admin/nodepool_openstack.html /docs/zuul/howtos/nodepool_openstack.html +redirectmatch 301 ^/docs/zuul/admin/nodepool_static.html /docs/zuul/howtos/nodepool_static.html redirectmatch 301 ^/docs/zuul/admin/opensuse_leap15_setup.html /docs/zuul/howtos/admins/opensuse_leap15_setup.html -redirectmatch 301 ^/docs/zuul/admin/quick-start.html /docs/zuul/tutorials/admins/quick-start.html +redirectmatch 301 ^/docs/zuul/admin/quick-start.html /docs/zuul/tutorials/quick-start.html redirectmatch 301 ^/docs/zuul/admin/tenant-scoped-rest-api.html /docs/zuul/discussion/tenant-scoped-rest-api.html -redirectmatch 301 ^/docs/zuul/admin/tenants.html /docs/zuul/discussion/tenants.html -redirectmatch 301 ^/docs/zuul/admin/troubleshooting.html /docs/zuul/howtos/admins/troubleshooting.html -redirectmatch 301 ^/docs/zuul/admin/zuul-from-scratch.html /docs/zuul/howtos/admins/zuul-from-scratch.html -redirectmatch 301 ^/docs/zuul/admin/zuul_install.html /docs/zuul/howtos/admins/zuul_install.html +redirectmatch 301 ^/docs/zuul/admin/tenants.html /docs/zuul/reference/tenants.html +redirectmatch 301 ^/docs/zuul/admin/troubleshooting.html /docs/zuul/howtos/troubleshooting.html +redirectmatch 301 ^/docs/zuul/admin/zuul-from-scratch.html /docs/zuul/howtos/zuul-from-scratch.html +redirectmatch 301 ^/docs/zuul/admin/zuul_install.html /docs/zuul/howtos/zuul_install.html redirectmatch 301 ^/docs/zuul/developer/ansible.html /docs/zuul/reference/developer/ansible.html redirectmatch 301 ^/docs/zuul/developer/datamodel.html /docs/zuul/reference/developer/datamodel.html redirectmatch 301 ^/docs/zuul/developer/docs.html /docs/zuul/reference/developer/docs.html @@ -46,9 +46,9 @@ redirectmatch 301 ^/docs/zuul/developer/specs/tenant-scoped-admin-web-API.html / redirectmatch 301 ^/docs/zuul/developer/testing.html /docs/zuul/reference/developer/testing.html redirectmatch 301 ^/docs/zuul/developer/triggers.html /docs/zuul/reference/developer/triggers.html redirectmatch 301 ^/docs/zuul/glossary.html /docs/zuul/reference/glossary.html -redirectmatch 301 ^/docs/zuul/governance.html /docs/zuul/overview/governance.html -redirectmatch 301 ^/docs/zuul/releasenotes.html /docs/zuul/overview/releasenotes.html -redirectmatch 301 ^/docs/zuul/user/badges.html /docs/zuul/howtos/users/badges.html +redirectmatch 301 ^/docs/zuul/governance.html /docs/zuul/reference/governance.html +redirectmatch 301 ^/docs/zuul/releasenotes.html /docs/zuul/reference/releasenotes.html +redirectmatch 301 ^/docs/zuul/user/badges.html /docs/zuul/howtos/badges.html redirectmatch 301 ^/docs/zuul/user/client-user.html /docs/zuul/reference/client.html redirectmatch 301 ^/docs/zuul/user/concepts.html /docs/zuul/discussion/concepts.html redirectmatch 301 ^/docs/zuul/user/config.html /docs/zuul/reference/config.html @@ -56,7 +56,28 @@ redirectmatch 301 ^/docs/zuul/user/encryption.html /docs/zuul/discussion/encrypt redirectmatch 301 ^/docs/zuul/user/gating.html /docs/zuul/discussion/gating.html redirectmatch 301 ^/docs/zuul/user/howtos/cross-project-gating.html /docs/zuul/howtos/users/cross-project-gating.html redirectmatch 301 ^/docs/zuul/user/howtos/pti.html /docs/zuul/howtos/users/pti.html -redirectmatch 301 ^/docs/zuul/user/index.html /docs/zuul/discussion/index.html +redirectmatch 301 ^/docs/zuul/user/index.html /docs/zuul/index.html redirectmatch 301 ^/docs/zuul/user/jobs.html /docs/zuul/reference/jobs.html -redirectmatch 301 ^/docs/zuul/user/vulnerabilities.html /docs/zuul/overview/vulnerabilities.html +redirectmatch 301 ^/docs/zuul/user/vulnerabilities.html /docs/zuul/reference/vulnerabilities.html redirectmatch 301 ^/docs/zuul/user/web.html /docs/zuul/reference/web.html + +redirectmatch 301 ^/docs/zuul/howtos/admins/centos7_setup.html /docs/zuul/howtos/centos7_setup.html +redirectmatch 301 ^/docs/zuul/howtos/admins/fedora27_setup.html /docs/zuul/howtos/fedora27_setup.html +redirectmatch 301 ^/docs/zuul/howtos/admins/gerrit_setup.html /docs/zuul/howtos/gerrit_setup.html +redirectmatch 301 ^/docs/zuul/howtos/admins/github_setup.html /docs/zuul/howtos/github_setup.html +redirectmatch 301 ^/docs/zuul/howtos/admins/installation.html /docs/zuul/howtos/installation.html +redirectmatch 301 ^/docs/zuul/howtos/admins/nodepool_install.html /docs/zuul/howtos/nodepool_install.html +redirectmatch 301 ^/docs/zuul/howtos/admins/nodepool_openstack.html /docs/zuul/howtos/nodepool_openstack.html +redirectmatch 301 ^/docs/zuul/howtos/admins/nodepool_static.html /docs/zuul/howtos/nodepool_static.html +redirectmatch 301 ^/docs/zuul/howtos/admins/opensuse_leap15_setup.html /docs/zuul/howtos/opensuse_leap15_setup.html +redirectmatch 301 ^/docs/zuul/howtos/admins/troubleshooting.html /docs/zuul/howtos/troubleshooting.html +redirectmatch 301 ^/docs/zuul/howtos/admins/zuul-from-scratch.html /docs/zuul/howtos/zuul-from-scratch.html +redirectmatch 301 ^/docs/zuul/howtos/admins/zuul_install.html /docs/zuul/howtos/zuul_install.html +redirectmatch 301 ^/docs/zuul/howtos/users/badges.html /docs/zuul/howtos/badges.html +redirectmatch 301 ^/docs/zuul/howtos/users/cross-project-gating.html /docs/zuul/howtos/cross-project-gating.html +redirectmatch 301 ^/docs/zuul/howtos/users/pti.html /docs/zuul/howtos/users/pti.html +redirectmatch 301 ^/docs/zuul/tutorials/admins/quick-start.html /docs/zuul/tutorials/quick-start.html +redirectmatch 301 ^/docs/zuul/discussion/tenants.html /docs/zuul/reference/tenants.html +redirectmatch 301 ^/docs/zuul/overview/governance.html /docs/zuul/reference/governance.html +redirectmatch 301 ^/docs/zuul/overview/releasenotes.html /docs/zuul/reference/releasenotes.html +redirectmatch 301 ^/docs/zuul/overview/vulnerabilities.html /docs/zuul/reference/vulnerabilities.html