Skip to content

Commit

Permalink
Add redirects based on 404s
Browse files Browse the repository at this point in the history
Add a redirect for any docs path that has returned at least 5 404
responses over the last 30 days.

Ignore 404s with destinations that are version-specific docs paths,
e.g., `/docs/ver/15.x/`, since (a) our redirect system does not support
these and (b) Teleport-owned sites do not include docs versions when
they link to or mention docs URL paths.
  • Loading branch information
ptgott committed Jan 9, 2025
1 parent 8c154d4 commit 85a033a
Showing 1 changed file with 95 additions and 0 deletions.
95 changes: 95 additions & 0 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,101 @@
"source": "/reference/operator-resources/resources.teleport.dev_users/",
"destination": "/reference/operator-resources/resources-teleport-dev-users/",
"permanent": true
},
{
"source": "/deploy-a-cluster/open-source/",
"destination": "/admin-guides/deploy-a-cluster/linux-demo/",
"permanent": true
},
{
"source": "/setup/admin/",
"destination": "/admin-guides/",
"permanent": true
},
{
"source": "/setup/operations/scaling/",
"destination": "/admin-guides/management/operations/scaling/",
"permanent": true
},
{
"source": "/deploy-a-cluster/introduction/",
"destination": "/admin-guides/deploy-a-cluster/",
"permanent": true
},
{
"source": "/setup/",
"destination": "/",
"permanent": true
},
{
"source": "/setup/reference/authentication/",
"destination": "/reference/authentication/",
"permanent": true
},
{
"source": "/application-access/guides/aws-console/",
"destination": "/enroll-resources/application-access/cloud-apis/aws-console/",
"permanent": true
},
{
"source": "/kubernetes-access/getting-started/agent/",
"destination": "/enroll-resources/kubernetes-access/register-clusters/",
"permanent": true
},
{
"source": "/kubernetes-access/getting-started/cluster/",
"destination": "/enroll-resources/kubernetes-access/register-clusters/",
"permanent": true
},
{
"source": "/kubernetes-access/manage-access/rbac/",
"destination": "/enroll-resources/kubernetes-access/controls/",
"permanent": true
},
{
"source": "/kubernetes-ssh/",
"destination": "/enroll-resources/kubernetes-access/",
"permanent": true
},
{
"source": "/machine-id/guides/github-actions/",
"destination": "/enroll-resources/machine-id/deployment/github-actions/",
"permanent": true
},
{
"source": "/management/guides/docker/",
"destination": "/installation/",
"permanent": true
},
{
"source": "/try-out-teleport/linux-server/",
"destination": "/admin-guides/deploy-a-cluster/linux-demo/",
"permanent": true
},
{
"source": "/try-out-teleport/local-kubernetes/",
"destination": "/get-started/",
"permanent": true
},
{
"source": "/database-access/guides/postgres-self-hosted/",
"destination": "/enroll-resources/database-access/enroll-self-hosted-databases/postgres-self-hosted/",
"permanent": true
},
{
"source": "/install/",
"destination": "/installation/",
"permanent": true
},
{
"source": "/kubernetes-access/helm/guides/aws/",
"destination": "/admin-guides/deploy-a-cluster/helm-deployments/aws/",
"permanent": true
},
{
"source": "/reference/introduction/",
"destination": "/reference/",
"permanent": true
}
]
}

0 comments on commit 85a033a

Please sign in to comment.