From db3ef5888ecb5624d53863506e10cd5bee84ef46 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 26 Dec 2023 16:32:40 +0300 Subject: [PATCH] Add redirect --- nuxt.config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index ee9386ec8..dd7c81b78 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -15,7 +15,15 @@ export default defineNuxtConfig({ ], vite: aliasConfig, nitro: { - alias: aliasConfig.resolve.alias + alias: aliasConfig.resolve.alias, + routeRules: { + '/accessibility': { + redirect: { + to: '/guides/accessibility', + statusCode: 301 + } + } + } }, primevue: { options: {