Skip to content

Commit 1b18dbb

Browse files
fix: redirect legacy routes to avoid 404s
/pricing → / (permanent) /faq → / (permanent) /privacy → /about (permanent) /terms → /about (permanent) Fixes 404 traffic from old site structure that's still indexed/linked. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 67e991d commit 1b18dbb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

next.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3+
async redirects() {
4+
return [
5+
{ source: '/pricing', destination: '/', permanent: true },
6+
{ source: '/faq', destination: '/', permanent: true },
7+
{ source: '/privacy', destination: '/about', permanent: true },
8+
{ source: '/terms', destination: '/about', permanent: true },
9+
]
10+
},
311
async headers() {
412
return [
513
{

0 commit comments

Comments
 (0)