Skip to content

fix(seo): Overhaul metadata, crawl directives, and LLM discoverability - #115

Merged
viet456 merged 1 commit into
mainfrom
fix/seo
Sep 20, 2026
Merged

viet456 merged 1 commit into
mainfrom
fix/seo

Conversation

@viet456

@viet456 viet456 commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Improves site seo.

  • Add metadataBase to root layout to resolve relative canonical/OG URLs to absolute https://www.cardledger.io paths, fixing incomplete hreflang and social preview links reported by crawlers

  • Add generateMetadata to /cards/[cardId] with dynamic title, description, canonical URL, OpenGraph, and Twitter card tags so each card page has unique, crawlable metadata instead of falling back to the root default

  • Add canonical alternates to /sets/[setId] generateMetadata to prevent duplicate content issues across paginated or parameterized set URLs

  • Fix sitemap baseUrl from cardledger.io to www.cardledger.io to match the canonical domain used everywhere else, avoiding redirect hops during sitemap fetch

  • Migrate public/robots.txt to src/app/robots.ts using the Next.js MetadataRoute.Robots convention — keeps crawl rules typed, colocated with other metadata files, and version-controlled alongside the app

  • Add public/llms.txt following the llmstxt.org standard to give AI agents a structured overview of the site's purpose, key routes, available data, and technical context

Improves site seo.

- Add metadataBase to root layout to resolve relative canonical/OG URLs
  to absolute https://www.cardledger.io paths, fixing incomplete hreflang
  and social preview links reported by crawlers

- Add generateMetadata to /cards/[cardId] with dynamic title, description,
  canonical URL, OpenGraph, and Twitter card tags so each card page has
  unique, crawlable metadata instead of falling back to the root default

- Add canonical alternates to /sets/[setId] generateMetadata to prevent
  duplicate content issues across paginated or parameterized set URLs

- Fix sitemap baseUrl from cardledger.io to www.cardledger.io to match
  the canonical domain used everywhere else, avoiding redirect hops
  during sitemap fetch

- Migrate public/robots.txt to src/app/robots.ts using the Next.js
  MetadataRoute.Robots convention — keeps crawl rules typed, colocated
  with other metadata files, and version-controlled alongside the app

- Add public/llms.txt following the llmstxt.org standard to give AI
  agents a structured overview of the site's purpose, key routes,
  available data, and technical context
@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cardledger Ready Ready Preview Sep 20, 2026 11:52pm UTC

@viet456
viet456 merged commit 51a55c5 into main Sep 20, 2026
3 checks passed
@viet456
viet456 deleted the fix/seo branch September 20, 2026 23:53
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