diff --git a/website/next.config.js b/website/next.config.js index 57689d97b42..8f5bbccac39 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -25,4 +25,18 @@ module.exports = withGuildDocs({ return config; }, swcMinify: false, + async redirects() { + return [ + { + source: '/docs/presets/:presetName', + destination: '/plugins/:presetName-preset', + permanent: true, + }, + { + source: '/docs/plugins/:pluginName', + destination: '/plugins/:pluginName', + permanent: true, + } + ]; + }, });