From e99487c152d79b2c1a95aa611ab3ca96572b467f Mon Sep 17 00:00:00 2001 From: Jimmy Joseph <81790845+jimmy-joseph@users.noreply.github.com> Date: Thu, 30 Jan 2025 05:03:33 -0500 Subject: [PATCH] website: Fix incorrect objects page redirect (#31091) Deletes a previous forced redirect of the objects page and updates the intended redirect to the correct one Fixes #30214 Co-authored-by: jimmy-joseph --- netlify.toml | 7 +------ redirects.js | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/netlify.toml b/netlify.toml index 9008827187..69e3b09d2f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -192,12 +192,7 @@ [[redirects]] from = "/docs/rpc/objects" - to = "/docs" - force = true - -[[redirects]] - from = "/docs/interacting-with-geth/rpc/objects" - to = "/docs" + to = "/docs/interacting-with-geth/rpc/objects" force = true [[redirects]] diff --git a/redirects.js b/redirects.js index 7371aa6094..59885e33be 100644 --- a/redirects.js +++ b/redirects.js @@ -183,12 +183,7 @@ const redirects = [ }, { source: '/docs/rpc/objects', - destination: '/docs', - permanent: true - }, - { - source: '/docs/interacting-with-geth/rpc/objects', - destination: '/docs', + destination: '/docs/interacting-with-geth/rpc/objects', permanent: true }, {