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
Add permanent redirects for old Fern documentation URLs discovered via Datadog 404 monitoring. Covers old introduction, tool-calling, framework, python SDK, authentication, changelog, MCP, patterns, guides, and moved docs pages. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
sohamganatra committed
Jan 28, 2026 at 18:23 UTC
6a427317e7e4f3a5f90e7f2aaf9d689a250c90a8
1 file changed
+160
docs/next.config.mjs
+160
@@ -323,6 +323,166 @@ const config = {
323
destination: '/reference/errors',
324
permanent: true,
325
},
326
+ // Old Fern introduction/overview pages
327
+ {
328
+ source: '/introduction/intro/overview',
329
+ destination: '/docs',
330
+ permanent: true,
331
+ },
332
+ {
333
+ source: '/introduction/intro/quickstart-tools',
334
+ destination: '/docs/quickstart',
335
+ permanent: true,
336
+ },
337
+ {
338
+ source: '/introduction/:path*',
339
+ destination: '/docs',
340
+ permanent: true,
341
+ },
342
+ // Old tool-calling section
343
+ {
344
+ source: '/tool-calling/processing-tools',
345
+ destination: '/docs/tools-direct/executing-tools',
346
+ permanent: true,
347
+ },
348
+ {
349
+ source: '/tool-calling/introduction',
350
+ destination: '/docs/tools-and-toolkits',
351
+ permanent: true,
352
+ },
353
+ {
354
+ source: '/tool-calling/:path*',
355
+ destination: '/docs/tools-and-toolkits',
356
+ permanent: true,
357
+ },
358
+ // Old framework pages
359
+ {
360
+ source: '/framework/crewai',
361
+ destination: '/docs/providers/crewai',
362
+ permanent: true,
363
+ },
364
+ {
365
+ source: '/framework/autogen',
366
+ destination: '/docs/providers',
367
+ permanent: true,
368
+ },
369
+ {
370
+ source: '/framework/:path*',
371
+ destination: '/docs/providers',
372
+ permanent: true,
373
+ },
374
+ // Old SDK reference pages
375
+ {
376
+ source: '/python-sdk-reference',
377
+ destination: '/reference',
378
+ permanent: true,
379
+ },
380
+ {
381
+ source: '/python/introduction',
382
+ destination: '/docs',
383
+ permanent: true,
384
+ },
385
+ {
386
+ source: '/python/:path*',
387
+ destination: '/docs',
388
+ permanent: true,
389
+ },
390
+ // Authentication (bare path without /docs prefix)
391
+ {
392
+ source: '/authentication',
393
+ destination: '/docs/authentication',
394
+ permanent: true,
395
+ },
396
+ // Changelog (bare path without /docs prefix)
397
+ {
398
+ source: '/changelog/api-v-3-migration',
399
+ destination: '/docs/changelog',
400
+ permanent: true,
401
+ },
402
+ {
403
+ source: '/changelog',
404
+ destination: '/docs/changelog',
405
+ permanent: true,
406
+ },
407
+ {
408
+ source: '/changelog/:path*',
409
+ destination: '/docs/changelog',
410
+ permanent: true,
411
+ },
412
+ // MCP pages
413
+ {
414
+ source: '/mcp/overview',
415
+ destination: '/docs/single-toolkit-mcp',
416
+ permanent: true,
417
+ },
418
+ {
419
+ source: '/mcp/:path*',
420
+ destination: '/docs/single-toolkit-mcp',
421
+ permanent: true,
422
+ },
423
+ {
424
+ source: '/docs/mcp-providers',
425
+ destination: '/docs/single-toolkit-mcp',
426
+ permanent: true,
427
+ },
428
+ // Patterns section (old Fern)
429
+ {
430
+ source: '/patterns/triggers/webhooks',
431
+ destination: '/docs/triggers',
432
+ permanent: true,
433
+ },
434
+ {
435
+ source: '/patterns/:path*',
436
+ destination: '/docs',
437
+ permanent: true,
438
+ },
439
+ // Guides case studies
440
+ {
441
+ source: '/guides/casestudy/:path*',
442
+ destination: '/examples',
443
+ permanent: true,
444
+ },
445
+ // Docs pages that moved or don't exist
446
+ {
447
+ source: '/docs/resources/:path*',
448
+ destination: '/docs',
449
+ permanent: true,
450
+ },
451
+ {
452
+ source: '/docs/migration',
453
+ destination: '/docs/migration-guide/tool-router-beta',
454
+ permanent: true,
455
+ },
456
+ {
457
+ source: '/docs/tools',
458
+ destination: '/docs/tools-and-toolkits',
459
+ permanent: true,
460
+ },
461
+ {
462
+ source: '/docs/tool-router/quick-start',
463
+ destination: '/docs/quickstart',
464
+ permanent: true,
465
+ },
466
+ {
467
+ source: '/docs/managed-authentication',
468
+ destination: '/docs/authentication',
469
+ permanent: true,
470
+ },
471
+ {
472
+ source: '/docs/dev-setup',
473
+ destination: '/docs/quickstart',
474
+ permanent: true,
475
+ },
476
+ {
477
+ source: '/docs/providers',
478
+ destination: '/docs/tools-and-toolkits',
479
+ permanent: true,
480
+ },
481
+ {
482
+ source: '/docs/providers/custom-providers/my-ai-provider',
483
+ destination: '/docs/providers/custom-providers/typescript',
484
+ permanent: true,
485
+ },
486
];
487
},
488
};