SEO by Platform
Headless CMS — content served by API, front-end built in whatever framework the team chose — closes this platform series with its architecture-tier entry: the setup where SEO stops being a settings panel and becomes a set of engineering requirements, because every default a traditional CMS ships (rendering, metas, sitemaps, redirects) is now something your build either implements or lacks. Headless done well matches anything in this series; headless done naively re-invents 2015's JavaScript-SEO failures at modern prices. Here's the requirements list.
The rendering decision (the one that dominates)
The rendering-stage physics as an architecture choice: server-side rendering or static generation is the requirement — content, metas and links present in served HTML, with hydration afterward — while pure client-side rendering (the naive SPA) hands Google the queued-rendering frictions and hands every other crawler nothing. The modern frameworks make SSR/SSG the paved path; the requirement is choosing it deliberately and verifying it per template (rendered-HTML checks as the acceptance test, per the standing rule), with the per-route wrinkles owned: dynamic routes rendering server-side, error states returning real status codes (the SPA-404-as-200 classic — soft-404s at framework scale), and loading states never being what crawlers receive.
The re-implementation checklist (everything a CMS used to ship)
- The meta layer: titles/descriptions/canonicals/og-tags rendered from CMS fields per route — the pattern-plus-override system as components, with the canonical rules implemented (self-referencing, parameter handling — nothing does this for you now).
- Structured data from the same fields — the generate-from-live-data law being natural in headless (the content model IS structured data; rendering it as JSON-LD is the cheap step teams skip).
- Sitemaps generated from the content API on the honest rules, robots served correctly per environment (the staging lock as deployment config — headless multiplies environments and their leak risk).
- Redirect management with an editorial surface — slugs change, and the redirect layer (edge config, middleware) needs the estate discipline plus a way for non-developers to add rules.
- Performance realised, not assumed: headless's speed potential is real and forfeitable — hydration weight, image pipelines (the srcset discipline as components), and font/script governance measured in field data like everyone else.
- The editorial surface preserved: preview environments, meta fields editors actually fill, and the contextual-linking capability in rich text — headless builds that make linking hard get sites that don't link, per the discipline's whole evidence base.
Frequently asked questions
Is headless better or worse for SEO than traditional CMS?
The doctrine's purest case: identical ceilings, relocated responsibility — headless removes every platform limit and every platform guarantee simultaneously. Teams with the engineering discipline get the series' highest control surface; teams without get the requirements list above as a gap list.
Which headless CMS is best for SEO?
Mostly the wrong layer for the question — the content backends (Contentful/Sanity/Strapi-class, or WordPress-headless) differ in modelling and workflow; the SEO outcomes live in the front-end build per the checklist. Choose the backend for editors, the framework for the team, and hold the build to the requirements.
We inherited a headless build ranking poorly. Where do we look?
The checklist as audit order: rendered-HTML verification first (the rendering decision, actually checked), then status codes, the meta/canonical layer, sitemap freshness, and the redirect estate — the standard stages with engineering tickets as the deliverable. Once the requirements hold, the platform vanishes from the equation — and the contest is the one this whole series ends on, every time: content worth ranking, and the authority behind it (API-independent, us).