Skip to content

Commit 46b4c6d

Browse files
Mlaz-codeclaude
andcommitted
seo: add redirects for section index URLs that 404
/streaming, /api-reference, /concepts, /sdks, and /examples had no index pages, causing 404s when accessed directly. Added permanent redirects to each section's first page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9d0c339 commit 46b4c6d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

vercel.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"framework": null,
55
"cleanUrls": true,
66
"ignoreCommand": "git diff --quiet HEAD^ HEAD -- app/ components/ pages/ styles/ theme.config.tsx next.config.mjs package.json vercel.json",
7+
"redirects": [
8+
{ "source": "/streaming", "destination": "/streaming/overview", "permanent": true },
9+
{ "source": "/api-reference", "destination": "/api-reference/overview", "permanent": true },
10+
{ "source": "/concepts", "destination": "/concepts/arbitrage", "permanent": true },
11+
{ "source": "/sdks", "destination": "/sdks/typescript", "permanent": true },
12+
{ "source": "/examples", "destination": "/examples/arbitrage-scanner", "permanent": true }
13+
],
714
"rewrites": [
815
{ "source": "/ingest/static/:path*", "destination": "https://us-assets.i.posthog.com/static/:path*" },
916
{ "source": "/ingest/:path*", "destination": "https://us.i.posthog.com/:path*" },

0 commit comments

Comments
 (0)