[seo-metadata] unique titles, canonicals & schema on compare/home/legal pages - #58
Conversation
2026-06-14 SEO audit (overall 67.4/100) found everything outside the blog tier sharing the root layout's default <title>, missing rel=canonical, and carrying no JSON-LD. Root cause: the /compare/* and legal pages are client components (can't export metadata) and the homepage had no metadata export. Fixes: - /compare/* (otter, read-ai, fireflies, fellow, granola): add a server layout.tsx per route with a unique title, description, and self-referential canonical (lib/compare-seo.ts), plus FAQPage + SoftwareApplication + BreadcrumbList JSON-LD (components/compare/compare-json-ld.tsx). - Homepage: add canonical + OpenGraph and Organization / WebSite / SoftwareApplication JSON-LD. - Legal/utility (policy, terms, contact-us, book, careers): server layout.tsx with unique title + description + canonical. - /for/odoo-partners: add canonical to existing metadata. - Root layout: add metadataBase + default OpenGraph siteName. - Blog index: add Blog (BlogPosting list) JSON-LD. (/a /b /c /d already canonical→home on main via #57, left untouched.) Verified: tsc --noEmit 0 errors; next build green; built HTML confirms unique title + canonical + schema on /compare/knowcap-vs-otter, home, and /policy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
More reviews will be available in 31 minutes and 58 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (21)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What
Closes the metadata gaps the 2026-06-14 SEO audit found (overall 67.4/100). Everything outside the blog tier (97.9) was sharing the root layout's default
<title>, missingrel=canonical, and carrying no JSON-LD.Root cause:
/compare/*and the 5 legal pages are'use client'components (can'texport const metadata), and the homepagepage.tsxhad no metadata export — so all fell back to layout defaults.Changes (21 files, additive — no UI/behavior change)
/compare/*×5layout.tsxper route → unique title + description + self-canonical (lib/compare-seo.ts); FAQPage + SoftwareApplication + BreadcrumbList JSON-LD (components/compare/compare-json-ld.tsx)layout.tsx→ unique title + description + canonical/for/odoo-partnerslayout.tsxmetadataBase+ default OpenGraphsiteName/blogindex/a /b /c /dalready canonical→home onmain(#57) — left untouched.Verification
tsc --noEmit→ 0 errorsnext build→ green, all routes compile (compare pages now ship the JSON-LD)/compare/knowcap-vs-otter→ titleKnowcap vs Otter.ai — AI Meeting Notes That Take Action, canonical present, FAQPage/SoftwareApplication/BreadcrumbList schema/→ canonical present, Organization + WebSite + SoftwareApplication schema/policy→ titlePrivacy Policy — Knowcap, canonical presentProjected audit lift: ~67 → ~85 once deployed.
🤖 Generated with Claude Code