diff --git a/middleware.ts b/middleware.ts index 6fb2bba3..bea1b8af 100644 --- a/middleware.ts +++ b/middleware.ts @@ -20,6 +20,10 @@ const { origin } = request.nextUrl source: '/clash-of-nodes/madara-karnot/', destination: `${origin}/docs/clash-of-nodes/karnot`, }, + { + source: '/clash-of-nodes/madara-karnot', + destination: `${origin}/docs/clash-of-nodes/karnot`, + }, { source: '/clash-of-nodes/challenges', destination: `${origin}/docs/clash-of-nodes/challenges` @@ -36,6 +40,10 @@ const { origin } = request.nextUrl source: '/clash-of-nodes/dymension', destination: `${origin}/docs/clash-of-nodes/dymension` }, + { + source: '/clash-of-nodes/dymension/', + destination: `${origin}/docs/clash-of-nodes/dymension` + }, { source: '/clash-of-nodes/faqs', destination: `${origin}/docs/clash-of-nodes/faqs` @@ -92,6 +100,10 @@ const { origin } = request.nextUrl source: "/about/identity/", destination: `${origin}/docs/end-user-guide/identity` }, + { + source: "/about/identity", + destination: `${origin}/docs/end-user-guide/identity` + }, { source: "/about/app-ids/", destination: `${origin}/docs/end-user-guide/app-id` @@ -100,10 +112,18 @@ const { origin } = request.nextUrl source: "/about/balance-transfers/", destination: `${origin}/docs/end-user-guide/balance-transfers` }, + { + source: "/about/balance-transfers", + destination: `${origin}/docs/end-user-guide/balance-transfers` + }, { source: "/about/nomination-pools/", destination: `${origin}/docs/end-user-guide/nomination-pools` }, + { + source: "/about/nomination-pools", + destination: `${origin}/docs/end-user-guide/nomination-pools` + }, { source: "/category/operate-a-node/", destination: `${origin}/docs/operate-a-node` @@ -176,6 +196,10 @@ const { origin } = request.nextUrl source: "/category/become-a-validator/", destination: `${origin}/docs/operate-a-node/become-a-validator` }, + { + source: "/category/become-a-validator", + destination: `${origin}/docs/operate-a-node/become-a-validator` + }, { source: "/operate/validator/avail-node-basics/", destination: `${origin}/docs/operate-a-node/become-a-validator/0010-basics` @@ -196,6 +220,10 @@ const { origin } = request.nextUrl source: "/operate/validator/staking/", destination: `${origin}/docs/operate-a-node/become-a-validator/stake-your-validator` }, + { + source: "/operate/validator/staking", + destination: `${origin}/docs/operate-a-node/become-a-validator/stake-your-validator` + }, { source: "/operate/validator/backup/", destination: `${origin}/docs/operate-a-node/become-a-validator/backup-your-validator`