How astro-seo-check works
SEO mistakes on static sites are usually small and silent: a canonical pointing at the non-www domain, two pages sharing one title, a link to a page you renamed, an image without alt text, a JSON-LD block that does not parse. They pile up quietly until Search Console complains.
astro-seo-check runs at the end of astro build and checks the final HTML of every page against 46 rules, including canonical, hreflang, robots.txt, sitemap and Product structured data checks that follow Google’s documentation. It can fail the build when something is badly broken, write a JSON report, and you can switch any rule off or change its level.
It also works as a CLI on any static build folder, so Hugo, Eleventy and Next.js export users can use it in CI.
Try it
npx astro add astro-seo-check
Free and open source under the MIT license. Want this done for your store, or need help with the findings? Book a call.