Technical SEO Audits for Contentful, Sanity, and Strapi Sites
Headless stacks break SEO in specific ways. Here are the audit checkpoints for Contentful, Sanity, and Strapi builds, from rendering to schema coverage.

Technical SEO on a headless build fails in the content layer long before anyone reads a word on the rendered page. The Next.js audit catches hydration issues, Lighthouse scores the shell, and the real defects sit inside Contentful, Sanity, or Strapi, where no frontend tool is looking.
A headless CMS SEO audit has to inspect content models, preview URLs, publish state, and asset delivery as first-class surfaces. Each platform fails in a slightly different way, and the fixes are mostly schema changes, not code changes.
What follows is a concrete audit pass for the three CMSs most enterprise and venture-backed teams are running in 2026: Contentful, Sanity, and Strapi.
Preview URLs Should Not Be Crawlable
The single most common leak on a headless build is a preview environment that Google can see. Contentful's preview API, Sanity's Studio preview, and Strapi's draft preview all hand out full-fidelity HTML to any URL they resolve. If the preview domain is public and the frontend does not set X-Robots-Tag: noindex or return 401, the preview is in the index within weeks.
Check three things. Confirm that the preview domain is behind authentication or an IP allowlist. Confirm that every preview response carries a noindex header, not just a meta tag that client-side rendering may never emit. And confirm that no preview URL is linked from the production site, including in sitemaps, OG tags, or canonical references that a careless Sanity GROQ query might return.
Content Models Are the Audit
The reason most headless sites lose rankings after a replatform is that the content model does not have the fields SEO requires. Title, meta description, canonical override, noindex toggle, hreflang alternates, Open Graph image, and structured data type are the minimum. If an author cannot set them in the editor, they do not exist on the page.
Google recommends JSON-LD for structured data because it is easier to maintain at scale than Microdata or RDFa, and the content model is where that decision gets enforced. Give every content type its own schema type field, resolved to JSON-LD in the frontend. Do not leave structured data to a per-template afterthought, because the author who writes a new case study page will not know to add it.
Draft, Published, and the API Response Trap
Draft and published state collisions produce the strangest bugs in a headless audit. Contentful returns drafts from the Preview API and published entries from the Delivery API, so a misrouted environment variable silently serves unpublished content to Googlebot. Sanity's dataset model has the same shape: the drafts.* documents live in the same dataset as published ones, filtered by GROQ. Strapi 5 unified draft and publish, which removed one failure mode and introduced another: an accidentally unpublished entry now returns 404 from the API, and every page referencing it goes broken at once.
A good audit scripts the API endpoints that populate your sitemap, cross-checks them against the live routes, and flags anything that returns a 200 in preview but a 404 in production. Those unresolved references are the main reason broken URLs multiply after a headless migration.
Asset CDN Handling Decides Your Core Web Vitals
Each of the three platforms ships its own image pipeline, and each one has a default that will hurt you. Contentful's Images API serves original files unless you pass explicit width, format, and quality parameters. Sanity's asset pipeline is on-demand, and if the frontend requests a 4000-pixel source for a 400-pixel slot, the bytes still ship. Strapi uses responsive formats generated at upload, which only exist for assets uploaded after the responsive config was enabled, meaning older entries silently fall back to originals.
The audit has to measure actual byte weight per image slot against the rendered dimensions, and it has to confirm that the content model requires alt text as a non-optional field. Heavy, unresponsive images drive INP and LCP into the red, and the headless CMS is where the bandwidth decision gets locked in.
Sitemaps, Canonicals, and Robots at the API Layer
A headless sitemap is a build artifact, not a file the CMS writes. That means a stale build or a misconfigured ISR schedule can leave the sitemap months behind the live content. Google's sitemap specification caps a single file at 50MB uncompressed or 50,000 URLs, whichever is reached first, and large Contentful spaces blow through that limit without any warning from the CMS itself.
Three checks belong in the audit. The sitemap build should query the same API that serves the production pages, with the same filters, not a parallel query someone wrote and forgot. Canonical URLs should be set explicitly in the content model, with a frontend fallback to the computed URL, so a syndicated or translated entry can point back to the source. And the robots file has to live outside the CMS, in the hosting layer, so a content editor cannot accidentally change it.
Platform-Specific Failures Worth Knowing
Contentful's main hazard is the reference field. A page that references a hero module that references an image that has been unpublished returns a resolved entry with a null hero. The frontend renders an empty container, Google sees a thin page, and the content audit shows nothing wrong because the entry still exists. Reference integrity checks belong in the build, not the editor.
Sanity's main hazard is GROQ queries that project only the fields the frontend uses. If the query does not request _updatedAt, the sitemap has no last-modified date; if it does not request SEO fields on references, the resolved object is missing them at render time. The dynamic sitemap pattern that Sanity documents is a reasonable starting point, but it has to be adapted to every content type that produces a URL.
Strapi's main hazard is that SEO fields are not in the core and have to be installed. The official @strapi-community/plugin-seo adds meta title and description fields with character counts, SERP and OpenGraph previews, canonical URL support, and per-locale i18n metadata inside the Strapi Admin Panel. Without it, authors have no interface for the fields they are expected to populate, and the content model ends up with free-text workarounds that the frontend has to parse.
Each platform's rendering layer also matters: if the frontend ships content via client-side JavaScript only, the content model fixes above will not reach Google at the speed a rendering-layer audit would catch. The CMS audit and the framework audit answer different questions and both have to be run.
Where the Content Layer Decides the SEO Outcome
A headless replatform does not fail at the edge. It fails at the schema, in the fields no one ships, in the preview environment no one locked down, and in the asset pipeline no one constrained. The teams running Contentful, Sanity, or Strapi who keep organic visibility through a migration are the ones who treat the content model as an SEO artifact and audit it on the same cadence they audit the rendered site. That same discipline pays off when the next question arrives, which is how the content model surfaces for AI answer engines and the entity graphs they build from your structured data.
The question worth putting to any agency or vendor pitching a headless CMS audit is simple. Ask them to name the three content-model changes they would make on your current Contentful, Sanity, or Strapi install before touching the frontend. A good answer is specific to your schema, names the fields and types, and explains what the missing fields and types are costing in crawl efficiency or indexable surface. A bad answer talks about Lighthouse scores.