Skip to content

Commit

Permalink
Website: add redirects for v2 URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Oct 5, 2023
1 parent 36aa799 commit 76fd232
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions website/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,31 @@ module.exports.redirects = {
'/#ecosystem': '/support',
'/#plans': '/support',
'/#enterprise': '/support',
// TODO: add redirects for anchor links too
'/docs/news': '/news',
'/docs/news/01-bref-1.0': '/news/01-bref-1.0',
'/docs/news/02-bref-2.0': '/news/02-bref-2.0',
'/docs/installation': '/docs/setup',
'/docs/first-steps': '/docs/setup#whats-next',
'/docs/runtimes/http': '/docs/runtimes/fpm-runtime',
'/docs/websites': '/docs/use-cases/websites',
'/docs/web-apps/docker': '/docs/deploy/docker',
'/docs/installation/aws-keys': '/docs/setup/aws-keys',
'/docs/environment/custom-domains': '/docs/use-cases/http/custom-domains',
'/docs/aws-cdk': '/docs/deploy/aws-cdk',
// TODO what's this url?
'/docs/web-apps/index.md#assets': '/docs/use-cases/websites',
'/docs/function/local-development': '/docs/local-development/event-driven-functions',
'/docs/frameworks/laravel': '/docs/laravel/getting-started',
'/docs/frameworks/symfony': '/docs/symfony/getting-started',
'/docs/newsletters': '/docs/community#newsletters',
'/docs/newsletters.html': '/docs/community#newsletters',
'/docs/cron': '/docs/use-cases/cron',
'/docs/cron.html': '/docs/use-cases/cron',
'/docs/web-apps/cron': '/docs/use-cases/cron',
'/docs/web-apps/cron.html': '/docs/use-cases/cron',
'/docs/local-development': '/docs/local-development',
'/docs/local-development.html': '/docs/local-development',
'/docs/web-apps/local-development': '/docs/local-development',
'/docs/web-apps/local-development.html': '/docs/local-development',
};

0 comments on commit 76fd232

Please sign in to comment.