Skip to content

fix: keep 404 metadata off the homepage identity - #18

Merged
0thernet merged 1 commit into
mainfrom
fix/seo-404-metadata
Aug 20, 2026
Merged

fix: keep 404 metadata off the homepage identity#18
0thernet merged 1 commit into
mainfrom
fix/seo-404-metadata

Conversation

@0thernet

Copy link
Copy Markdown
Contributor

Summary

  • Move homepage title, canonical, Open Graph, Twitter, and indexable robots onto app/page.tsx so the root layout keeps only site-wide defaults.
  • Give not-found.tsx a distinct title, page-level noindex, and no homepage canonical.
  • Replace the homepage H1 aicharts.io with the existing product phrase AI model and agent comparison charts.

Test plan

  • bun test (131 pass)
  • bun run typecheck and bun run lint
  • bun run build and bun run start -- --port 3010
  • curl / has homepage title, https://aicharts.io canonical, index, follow, and H1 AI model and agent comparison charts
  • curl /this-page-does-not-exist is 404 with title Page not found | AI Charts, no canonical, and noindex
  • curl /data and /blog still keep their own titles and canonicals

Homepage title, canonical, and robots now live on the home page so missing routes keep a distinct noindex title. The visible H1 uses the existing comparison-chart phrase instead of the domain.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
aicharts Ready Ready Preview Aug 20, 2026 6:13pm

Request Review

@0thernet
0thernet merged commit b6ae11a into main Aug 20, 2026
4 checks passed
@0thernet
0thernet deleted the fix/seo-404-metadata branch August 20, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant