Skip to content

feat(seo): add canonical, social metadata, JSON-LD and crawler files - #22

Merged
Nain9Dev merged 1 commit into
mainfrom
feat/seo-baseline
Nov 9, 2026
Merged

Nain9Dev merged 1 commit into
mainfrom
feat/seo-baseline

Conversation

@Nain9Dev

@Nain9Dev Nain9Dev commented Nov 9, 2026

Copy link
Copy Markdown
Owner

What

  • wwwroot/index.html (the page served at /): canonical link, author link, Open Graph, Twitter card and SoftwareApplication JSON-LD. The existing description (150 characters) is kept.
  • New robots.txt, sitemap.xml and llms.txt in NainOrder.Api/wwwroot, which deploy.yml publishes to GitHub Pages and the API also serves through UseStaticFiles.
  • SeoDiscoverabilityTests, REQ-064, spec specs/next-seo-discoverability, traceability row and changelog entry.

Why

Search engines and AI crawlers had no canonical URL, social metadata, structured data, sitemap or llms.txt for https://order.naindev.com/. Visual design and routing are untouched.

Notes: the static HTML has no <h1> outside <noscript> (the panel is JavaScript-rendered) and was not restructured. The live /robots.txt currently carries a CDN-injected content-signal block; the repository file will take over once deployed.

Verification

  • Test written first: 8 of 9 new tests failed on the unmodified page.
  • After the change: dotnet test NainOrder.Tests -c Release --filter "SeoDiscoverability|PwaAssets|OrderFlowTests" gives 32 passed, 0 failed.

Declare canonical URL, Open Graph, Twitter card and SoftwareApplication
JSON-LD in the public page and serve robots.txt, sitemap.xml and llms.txt
from the site root. Covered by SeoDiscoverabilityTests (REQ-064).
@Nain9Dev
Nain9Dev merged commit 2b15533 into main Nov 9, 2026
5 checks passed
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