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 }, {