Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(docs): Add redirects for 27 monitored 404 paths

sohamganatra6a427317e7e4
diff --git a/docs/next.config.mjs b/docs/next.config.mjs
index 34eaf511f..496364cf2 100644
--- a/docs/next.config.mjs
+++ b/docs/next.config.mjs
@@ -323,6 +323,166 @@ const config = {
destination: '/reference/errors',
permanent: true,
},
+ // Old Fern introduction/overview pages
+ {
+ source: '/introduction/intro/overview',
+ destination: '/docs',
+ permanent: true,
+ },
+ {
+ source: '/introduction/intro/quickstart-tools',
+ destination: '/docs/quickstart',
+ permanent: true,
+ },
+ {
+ source: '/introduction/:path*',
+ destination: '/docs',
+ permanent: true,
+ },
+ // Old tool-calling section
+ {
+ source: '/tool-calling/processing-tools',
+ destination: '/docs/tools-direct/executing-tools',
+ permanent: true,
+ },
+ {
+ source: '/tool-calling/introduction',
+ destination: '/docs/tools-and-toolkits',
+ permanent: true,
+ },
+ {
+ source: '/tool-calling/:path*',
+ destination: '/docs/tools-and-toolkits',
+ permanent: true,
+ },
+ // Old framework pages
+ {
+ source: '/framework/crewai',
+ destination: '/docs/providers/crewai',
+ permanent: true,
+ },
+ {
+ source: '/framework/autogen',
+ destination: '/docs/providers',
+ permanent: true,
+ },
+ {
+ source: '/framework/:path*',
+ destination: '/docs/providers',
+ permanent: true,
+ },
+ // Old SDK reference pages
+ {
+ source: '/python-sdk-reference',
+ destination: '/reference',
+ permanent: true,
+ },
+ {
+ source: '/python/introduction',
+ destination: '/docs',
+ permanent: true,
+ },
+ {
+ source: '/python/:path*',
+ destination: '/docs',
+ permanent: true,
+ },
+ // Authentication (bare path without /docs prefix)
+ {
+ source: '/authentication',
+ destination: '/docs/authentication',
+ permanent: true,
+ },
+ // Changelog (bare path without /docs prefix)
+ {
+ source: '/changelog/api-v-3-migration',
+ destination: '/docs/changelog',
+ permanent: true,
+ },
+ {
+ source: '/changelog',
+ destination: '/docs/changelog',
+ permanent: true,
+ },
+ {
+ source: '/changelog/:path*',
+ destination: '/docs/changelog',
+ permanent: true,
+ },
+ // MCP pages
+ {
+ source: '/mcp/overview',
+ destination: '/docs/single-toolkit-mcp',
+ permanent: true,
+ },
+ {
+ source: '/mcp/:path*',
+ destination: '/docs/single-toolkit-mcp',
+ permanent: true,
+ },
+ {
+ source: '/docs/mcp-providers',
+ destination: '/docs/single-toolkit-mcp',
+ permanent: true,
+ },
+ // Patterns section (old Fern)
+ {
+ source: '/patterns/triggers/webhooks',
+ destination: '/docs/triggers',
+ permanent: true,
+ },
+ {
+ source: '/patterns/:path*',
+ destination: '/docs',
+ permanent: true,
+ },
+ // Guides case studies
+ {
+ source: '/guides/casestudy/:path*',
+ destination: '/examples',
+ permanent: true,
+ },
+ // Docs pages that moved or don't exist
+ {
+ source: '/docs/resources/:path*',
+ destination: '/docs',
+ permanent: true,
+ },
+ {
+ source: '/docs/migration',
+ destination: '/docs/migration-guide/tool-router-beta',
+ permanent: true,
+ },
+ {
+ source: '/docs/tools',
+ destination: '/docs/tools-and-toolkits',
+ permanent: true,
+ },
+ {
+ source: '/docs/tool-router/quick-start',
+ destination: '/docs/quickstart',
+ permanent: true,
+ },
+ {
+ source: '/docs/managed-authentication',
+ destination: '/docs/authentication',
+ permanent: true,
+ },
+ {
+ source: '/docs/dev-setup',
+ destination: '/docs/quickstart',
+ permanent: true,
+ },
+ {
+ source: '/docs/providers',
+ destination: '/docs/tools-and-toolkits',
+ permanent: true,
+ },
+ {
+ source: '/docs/providers/custom-providers/my-ai-provider',
+ destination: '/docs/providers/custom-providers/typescript',
+ permanent: true,
+ },
];
},
};