Back to News & Blog

10 things to settle before going headless

Illustration of a CMS with article, person, case study and office content types connected through an API to a website front end, with a "Settle before you build" checklist covering content model, preview, SEO outputs, hosting, tracking and forms, and rendering

A headless website splits the CMS that editors work in from the front end that visitors see, with the two connected through an API. For organisations with a lot of structured content, several channels to publish to or a theme that has become hard to change, it’s often the right move, and SoBold’s headless builds use Next.js on the front end.

When a headless project runs into trouble, the cause is usually a decision nobody made before development started, far more often than the CMS or the framework itself. Preview gets added late, SEO metadata gets rebuilt after launch, and analytics turns out to depend on code that only existed in the old theme. The ten decisions below are the ones we settle with clients before the first design file is opened. If the question is still whether headless is the right approach at all, start there.

1. Why you’re going headless

A headless build separates the CMS where content is edited from the front end that displays it, and that separation adds a second system to build, host and maintain. It earns its place when there’s a specific requirement behind it: content published to more than one channel, highly structured content reused across many pages, performance targets a traditional theme struggles to meet, or rules about where data is stored.

Settle this by writing down the one or two requirements headless is meant to solve, and checking every later decision against them. If none of the reasons applies, a well-built traditional WordPress site is usually the faster, cheaper route to the same result.

2. Which CMS sits behind the front end

Next.js can sit in front of almost any CMS, and the choice shapes where content lives, what editors work in and what the licence costs.

  • WordPress can run headless through its REST API or GraphQL, and its editor is already familiar to most marketing teams.
  • Sanity stores content in its own cloud, offers a free plan with paid plans priced per seat (plus usage limits), and its Studio is configured around the content model, with real-time collaboration.
  • Payload is open source, runs on your own server and installs inside the Next.js application itself.

You can settle this by matching the CMS to the requirement from step 1. WordPress tends to suit teams who already know it and sites where the content stays mostly on the website. Sanity suits content published to several channels from one structured source. Payload suits organisations that need the CMS and its data on their own infrastructure, or a portal-style build where the CMS and front end share one codebase. Our technologies overview compares the three options side by side.

3. All at once, or route by route

Large sites rarely need to switch every page to the new front end on the same day. A hybrid setup lets Next.js serve some routes while the existing site serves the rest, with the server deciding which application answers each URL. It spreads the risk and lets the team prove the new front end on a few templates before committing the whole site, but every URL needs an owner, including the root-level files nobody thinks about. It’s common for robots.txt, the favicon and the social sharing images to return 404 errors after a hybrid launch, because the routing sends them to an application that doesn’t have them.

You can settle this by deciding the rollout order up front, and listing every root-level file (robots.txt, sitemaps, favicons, share images, verification files) with the application responsible for it.

4. The content model, before the design

In a traditional WordPress build, a page is often a free-form canvas assembled from blocks or a page builder. In a headless build, content is usually structured into types (an article, a person, an office, a case study) with fields and references between them, and the front end assembles pages from those pieces. A model designed around one set of page layouts tends to break as soon as the content is needed somewhere else, such as an app, a partner feed or a second site. Changing it after launch means changing the CMS schema, the front-end queries and the stored content together.

You can settle this by modelling content around what it is, then mapping existing content into the new model before any design is signed off. Content that doesn’t fit is better found at this stage than during the migration.

5. What editors see when they press preview

Editors used to WordPress expect to see a draft exactly as it will appear, but in a headless setup, preview has to be built: the CMS sends the editor to the front end with a secret token, and Next.js’s draft mode fetches unpublished content instead of the live version. Sanity and Payload both offer live preview tooling, but it still needs connecting to the front end and testing against every template. Preview that only works for some content types frustrates editors quickly, and it tends to happen when preview is treated as a finishing touch instead of part of the first build.

You should settle this by agreeing what preview needs to show (whole pages, single components, scheduled content) and building it in the first sprint. Teams moving from a page builder will also lose some layout freedom, so it helps to agree early which page sections editors can arrange themselves.

6. Who owns the front end and its components

With a Next.js front end, every new component is development work, and the component library underneath it becomes a long-term dependency. That library affects more than design. Swapping one library for another can change the IDs on interactive elements, which breaks any analytics triggers built on them, and some libraries remove closed tabs and accordions from the page’s HTML by default, taking that content out of what search engines can read.

You can settle this by agreeing who can add or change components, how requests are handled after launch, and checking any library change for its effect on tracking and on the HTML that gets served. Building tracking triggers on stable attributes, such as data attributes, means they survive a library change.

7. Hosting and maintaining two systems

A headless site has at least two things to host: the CMS and a Node.js environment for the front end, each with its own staging and production setup. Where content is stored matters too. Payload can run entirely on your own infrastructure, while Sanity keeps content in its cloud. Both systems need patching, including the front end’s npm dependencies, which update far more often than most CMS plugins. Running costs follow the same pattern: two hosting environments, a CMS licence for some platforms (Sanity’s paid plans are priced per seat), and developer time for front-end changes that a page builder would previously have absorbed.

You should settle this by deciding where each part is hosted, who monitors it and who patches it. Our dedicated hosting and support retainers cover both the CMS and the front end.

8. The SEO setup that the old theme handled

On a WordPress site, an SEO plugin, for example Yoast, quietly outputs titles, descriptions, canonicals, structured data and the sitemap. On a headless front end, all of that has to be produced by Next.js, usually by reading the values from the CMS through its API. Anything missed falls back to defaults. A common example is Next.js serving its own built-in share image on every page, so the images editors set in the CMS never appear and can’t be changed without a developer.

You should settle this by listing every SEO output the current site produces (metadata, canonicals, hreflang, structured data, sitemaps, redirects, robots rules) and assigning each to the CMS or the front end before build. Our SEO migrations work covers this mapping.

9. Tracking, forms and integrations

Plugins often handle forms, site search and CRM connections, and they don’t come with you to a headless front end, and analytics carries a similar risk. Tag Manager variables that call functions defined by the old theme return nothing on the new templates, and data the old templates pushed to the data layer has to be reproduced. A typical symptom is a user identifier sent to Google Analytics going blank on every new template, because the function that supplied it only existed in the old theme.

This can be settled by listing every form, integration and tracking event on the current site, and deciding how each will work on the new front end. Forms and CRM connections usually become API integrations, and every tag and variable needs testing on the new templates before launch.

10. How pages are rendered, and how fast changes go live

Next.js can build pages in advance, regenerate them on a schedule or render them on each request, and the choice decides how quickly an editor’s change appears. Building everything in advance gives the fastest pages, but on a large site a full rebuild for every typo fix isn’t practical, while rendering every request keeps content fresh at the cost of more server load. On-demand revalidation closes the gap: when content is published, the CMS calls a webhook and Next.js refreshes only the affected pages. Rendering also decides what crawlers see. AI crawlers in particular often don’t run JavaScript, so content that only appears after scripts load can be invisible to them, one of the things that block websites from AI search.

Settle this by choosing a rendering approach per template, wiring publish events to on-demand revalidation, and checking the served HTML (not the browser view) for every important template.

Where to start

Settle the first four before design starts: the reason for going headless, the CMS, the rollout plan and the content model. Everything else depends on them, and they’re the hardest to change once development is under way.

If you’re weighing up a headless build and want to talk through these decisions for your own site, speak to our headless development team.

Let’s scope your next project.

Whether you’re in financial services, healthcare, energy or another sector, we start every project with a conversation about your requirements. No commitment, just a discussion about your needs.

Schedule a consultation