From 022e010258d78ba10aab76763045f50ea1ef9aff Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 20 Jan 2022 13:49:55 -0800 Subject: [PATCH] Add redirects from the most recent doc reorg These may help some search engines or bookmarks. Change-Id: I1ee4286497aa7c7da84bcb492ceb8aaeaeb08446 --- www/.htaccess | 81 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 75 insertions(+), 6 deletions(-) diff --git a/www/.htaccess b/www/.htaccess index 4c5f1d4..982e366 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -3,16 +3,17 @@ redirectmatch 302 ^/start(/)?$ /get-started.html # Permanent redirects for documents which have moved in the past +################################################################# ## Move from docs/zuul to docs/zuul/latest redirectmatch 301 ^/docs/zuul(/)?$ /docs/zuul/latest/ ### Directories -redirectmatch 301 ^/docs/zuul/config(/)?$ /docs/zuul/latest/config -redirectmatch 301 ^/docs/zuul/developer(/)?$ /docs/zuul/latest/developer -redirectmatch 301 ^/docs/zuul/developer/specs(/)?$ /docs/zuul/latest/developer/specs -redirectmatch 301 ^/docs/zuul/drivers(/)?$ /docs/zuul/latest/drivers -redirectmatch 301 ^/docs/zuul/howtos(/)?$ /docs/zuul/latest/howtos -redirectmatch 301 ^/docs/zuul/tutorials(/)?$ /docs/zuul/latest/tutorials +redirectmatch 301 ^/docs/zuul/config(/)?$ /docs/zuul/latest/config/ +redirectmatch 301 ^/docs/zuul/developer(/)?$ /docs/zuul/latest/developer/ +redirectmatch 301 ^/docs/zuul/developer/specs(/)?$ /docs/zuul/latest/developer/specs/ +redirectmatch 301 ^/docs/zuul/drivers(/)?$ /docs/zuul/latest/drivers/ +redirectmatch 301 ^/docs/zuul/howtos(/)?$ /docs/zuul/latest/howtos/ +redirectmatch 301 ^/docs/zuul/tutorials(/)?$ /docs/zuul/latest/tutorials/ ### HTML Files redirectmatch 301 ^/docs/zuul/config/job.html$ /docs/zuul/latest/config/job.html @@ -100,3 +101,71 @@ redirectmatch 301 ^/docs/zuul/search.html$ /docs/zuul/latest/search.html redirectmatch 301 ^/docs/zuul/tenants.html$ /docs/zuul/latest/tenants.html redirectmatch 301 ^/docs/zuul/troubleshooting.html$ /docs/zuul/latest/troubleshooting.html redirectmatch 301 ^/docs/zuul/vulnerabilities.html$ /docs/zuul/latest/vulnerabilities.html + +################################################################# +## Reorg from I5ef88536acf1a1e58a07827e06b07d06588ecaf1 + +### These directories moved +redirectmatch 301 ^/docs/zuul/reference/developer(/)?$ /docs/zuul/latest/developer/ +redirectmatch 301 ^/docs/zuul/reference/developer/specs(/)?$ /docs/zuul/latest/developer/specs/ +redirectmatch 301 ^/docs/zuul/reference/drivers(/)?$ /docs/zuul/latest/drivers/ + +### These directories don't exist any more +redirectmatch 301 ^/docs/zuul/reference/discussion(/)?$ /docs/zuul/latest/ +redirectmatch 301 ^/docs/zuul/reference/reference(/)?$ /docs/zuul/latest/ + +### HTML File moves +redirectmatch 301 ^/docs/zuul/discussion/tenant-scoped-rest-api.html$ /docs/zuul/latest/authentication.html +redirectmatch 301 ^/docs/zuul/reference/client.html$ /docs/zuul/latest/client.html +redirectmatch 301 ^/docs/zuul/discussion/concepts.html$ /docs/zuul/latest/concepts.html +redirectmatch 301 ^/docs/zuul/reference/job_def.html$ /docs/zuul/latest/config/job.html +redirectmatch 301 ^/docs/zuul/reference/nodeset_def.html$ /docs/zuul/latest/config/nodeset.html +redirectmatch 301 ^/docs/zuul/reference/pipeline_def.html$ /docs/zuul/latest/config/pipeline.html +redirectmatch 301 ^/docs/zuul/reference/pragma_def.html$ /docs/zuul/latest/config/pragma.html +redirectmatch 301 ^/docs/zuul/reference/project_def.html$ /docs/zuul/latest/config/project.html +redirectmatch 301 ^/docs/zuul/reference/queue_def.html$ /docs/zuul/latest/config/queue.html +redirectmatch 301 ^/docs/zuul/reference/secret_def.html$ /docs/zuul/latest/config/secret.html +redirectmatch 301 ^/docs/zuul/reference/semaphore_def.html$ /docs/zuul/latest/config/semaphore.html +redirectmatch 301 ^/docs/zuul/discussion/components.html$ /docs/zuul/latest/configuration.html +redirectmatch 301 ^/docs/zuul/reference/developer/ansible.html$ /docs/zuul/latest/developer/ansible.html +redirectmatch 301 ^/docs/zuul/reference/developer/datamodel.html$ /docs/zuul/latest/developer/datamodel.html +redirectmatch 301 ^/docs/zuul/reference/developer/docs.html$ /docs/zuul/latest/developer/docs.html +redirectmatch 301 ^/docs/zuul/reference/developer/drivers.html$ /docs/zuul/latest/developer/drivers.html +redirectmatch 301 ^/docs/zuul/reference/developer/index.html$ /docs/zuul/latest/developer/index.html +redirectmatch 301 ^/docs/zuul/reference/developer/javascript.html$ /docs/zuul/latest/developer/javascript.html +redirectmatch 301 ^/docs/zuul/reference/developer/releasenotes.html$ /docs/zuul/latest/developer/releasenotes.html +redirectmatch 301 ^/docs/zuul/reference/developer/specs/circular-dependencies.html$ /docs/zuul/latest/developer/specs/circular-dependencies.html +redirectmatch 301 ^/docs/zuul/reference/developer/specs/community-matrix.html$ /docs/zuul/latest/developer/specs/community-matrix.html +redirectmatch 301 ^/docs/zuul/reference/developer/specs/enhanced-regional-executors.html$ /docs/zuul/latest/developer/specs/enhanced-regional-executors.html +redirectmatch 301 ^/docs/zuul/reference/developer/specs/index.html$ /docs/zuul/latest/developer/specs/index.html +redirectmatch 301 ^/docs/zuul/reference/developer/specs/kubernetes-operator.html$ /docs/zuul/latest/developer/specs/kubernetes-operator.html +redirectmatch 301 ^/docs/zuul/reference/developer/specs/tenant-resource-quota.html$ /docs/zuul/latest/developer/specs/tenant-resource-quota.html +redirectmatch 301 ^/docs/zuul/reference/developer/specs/tenant-scoped-admin-web-API.html$ /docs/zuul/latest/developer/specs/tenant-scoped-admin-web-API.html +redirectmatch 301 ^/docs/zuul/reference/developer/specs/zuul-runner.html$ /docs/zuul/latest/developer/specs/zuul-runner.html +redirectmatch 301 ^/docs/zuul/reference/developer/testing.html$ /docs/zuul/latest/developer/testing.html +redirectmatch 301 ^/docs/zuul/reference/developer/triggers.html$ /docs/zuul/latest/developer/triggers.html +redirectmatch 301 ^/docs/zuul/reference/developer/zookeeper.html$ /docs/zuul/latest/developer/zookeeper.html +redirectmatch 301 ^/docs/zuul/reference/drivers/elasticsearch.html$ /docs/zuul/latest/drivers/elasticsearch.html +redirectmatch 301 ^/docs/zuul/reference/drivers/gerrit.html$ /docs/zuul/latest/drivers/gerrit.html +redirectmatch 301 ^/docs/zuul/reference/drivers/git.html$ /docs/zuul/latest/drivers/git.html +redirectmatch 301 ^/docs/zuul/reference/drivers/github.html$ /docs/zuul/latest/drivers/github.html +redirectmatch 301 ^/docs/zuul/reference/drivers/gitlab.html$ /docs/zuul/latest/drivers/gitlab.html +redirectmatch 301 ^/docs/zuul/reference/drivers/index.html$ /docs/zuul/latest/drivers/index.html +redirectmatch 301 ^/docs/zuul/reference/drivers/mqtt.html$ /docs/zuul/latest/drivers/mqtt.html +redirectmatch 301 ^/docs/zuul/reference/drivers/pagure.html$ /docs/zuul/latest/drivers/pagure.html +redirectmatch 301 ^/docs/zuul/reference/drivers/smtp.html$ /docs/zuul/latest/drivers/smtp.html +redirectmatch 301 ^/docs/zuul/reference/drivers/sql.html$ /docs/zuul/latest/drivers/sql.html +redirectmatch 301 ^/docs/zuul/reference/drivers/timer.html$ /docs/zuul/latest/drivers/timer.html +redirectmatch 301 ^/docs/zuul/reference/drivers/zuul.html$ /docs/zuul/latest/drivers/zuul.html +redirectmatch 301 ^/docs/zuul/reference/glossary.html$ /docs/zuul/latest/glossary.html +redirectmatch 301 ^/docs/zuul/reference/governance.html$ /docs/zuul/latest/governance.html +redirectmatch 301 ^/docs/zuul/discussion/gating.html$ /docs/zuul/latest/gating.html +redirectmatch 301 ^/docs/zuul/howtos/installation.html$ /docs/zuul/latest/installation.html +redirectmatch 301 ^/docs/zuul/reference/jobs/jobs.html$ /docs/zuul/latest/job-content.html +redirectmatch 301 ^/docs/zuul/reference/monitoring.html$ /docs/zuul/latest/monitoring.html +redirectmatch 301 ^/docs/zuul/reference/config.html$ /docs/zuul/latest/project-config.html +redirectmatch 301 ^/docs/zuul/reference/releasenotes.html$ /docs/zuul/latest/releasenotes.html +redirectmatch 301 ^/docs/zuul/reference/web.html$ /docs/zuul/latest/rest-api.html +redirectmatch 301 ^/docs/zuul/reference/tenants.html$ /docs/zuul/latest/tenants.html +redirectmatch 301 ^/docs/zuul/howtos/troubleshooting.html$ /docs/zuul/latest/troubleshooting.html +redirectmatch 301 ^/docs/zuul/reference/vulnerabilities.html$ /docs/zuul/latest/vulnerabilities.html