From f0d13cf9ad2f567e007d97349fff7ad0398c6590 Mon Sep 17 00:00:00 2001 From: svrnm Date: Mon, 15 Jan 2024 09:31:46 +0100 Subject: [PATCH] fix redirect Signed-off-by: svrnm --- content/en/docs/languages/_index.md | 2 ++ netlify.toml | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/content/en/docs/languages/_index.md b/content/en/docs/languages/_index.md index 37d704cebf91..2b44d21a4121 100644 --- a/content/en/docs/languages/_index.md +++ b/content/en/docs/languages/_index.md @@ -4,6 +4,8 @@ description: >- OpenTelemetry code instrumentation is supported for many popular programming languages weight: 2 +aliases: [/docs/instrumentation] +redirects: [{ from: /docs/instrumentation/*, to: ':splat' }] --- OpenTelemetry code [instrumentation][] is supported for the languages listed diff --git a/netlify.toml b/netlify.toml index d9e37e68e9a0..e40a456e069c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -15,11 +15,6 @@ from = "https://blog.opentelemetry.io/*" to = "https://opentelemetry.io/blog/:splat" force = true -[[redirects]] -from = "/docs/instrumentation/*" -to = "/docs/languages/:splat" -force = true - [[headers]] for = "/schemas/:version" [headers.values]