<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/headless-cms-migration-without-breaking-the-content-model-xswdnwvl9" -->

---
title: Headless CMS migration without breaking the content model
description: A headless CMS migration is framed as schema translation rather than content transfer, since source and target platforms model content differently at the field...
canonical: https://daily.dev/posts/headless-cms-migration-without-breaking-the-content-model-xswdnwvl9
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Headless CMS migration without breaking the content model | daily.dev
og:description: A headless CMS migration is framed as schema translation rather than content transfer, since source and target platforms model content differently at the field...
og:url: https://daily.dev/posts/headless-cms-migration-without-breaking-the-content-model-xswdnwvl9
og:image: https://api.daily.dev/og/posts/xSWDnwVl9.png
og:image:alt: Headless CMS migration without breaking the content model
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Headless CMS migration without breaking the content model

**[Netguru](https://daily.dev/sources/netguru)** · 16 min read · 0 upvotes · 0 comments

## Summary

A headless CMS migration is framed as schema translation rather than content transfer, since source and target platforms model content differently at the field level. Key failure points include field-type mismatches (e.g., permissive WordPress rich text vs. strict Contentful/Strapi/Storyblok fields), flattened relationships needing conversion to structured references, locale-per-entry versus locale-per-field data model conflicts, and embedded asset URLs breaking on cutover. A pre-migration audit checklist covers field-type mismatch counts, orphaned shortcodes, reference-graph depth, locale model checks, and asset inventories. Recommended sequencing: migrate one low-complexity bounded content type first, run it in parallel with the source CMS for two to four weeks, define explicit cutover criteria, and keep the old CMS readable (not writable) after cutover. Platform-specific mechanics are detailed for Contentful (schema-level reference validation, delivery API serving only published entries), Strapi (locale-per-entry via i18n plugin, explicit relation cardinalities), and Storyblok (datasources migrated separately from stories).

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.netguru.com/blog/headless-cms-migration-guide>

## Questions this post answers

### What breaks when migrating a WordPress site to a headless CMS like Contentful or Strapi?

Field-type mismatches, flattened relationships, locale model conflicts, and embedded asset URLs break first. WordPress rich-text fields accept nested HTML and shortcodes with no direct equivalent in Contentful's structured text field or Strapi's rich text field, causing validation failures such as 422 errors. Shortcodes ship as inert literal text, and iframe embeds throw unrecognized node type errors unless rebuilt as embedded entries.

_daily.dev surfaces practical migration breakdowns like this for teams planning a CMS cutover._

### What is the difference between locale-per-entry and locale-per-field in a headless CMS?

Locale-per-entry, used by Strapi's internationalization plugin, gives each locale its own entry linked to a default locale through a localization relation. Locale-per-field, used by Contentful, treats locale as a property of the field, so one entry holds multiple language values side by side and a reference field points at the entry once, resolved per locale at delivery. Picking the wrong model for existing content forces a structural rebuild.

_Teams comparing Contentful and Strapi localization models can track these tradeoffs on daily.dev._

### How deep does Contentful's Content Delivery API resolve linked references by default?

Contentful's Content Delivery API resolves linked references up to 10 levels deep on a single query by default. Reference graphs deeper than that need explicit include parameters or a flattening pass during migration, since most healthy content models never approach that depth; anything crossing three or four levels is a candidate to migrate as its own isolated bounded content type.

_daily.dev helps developers keep tabs on Contentful API behavior when planning reference-heavy migrations._

## Similar posts on daily.dev

- [7 Headless CMS for Startups to Scale Faster \(2026\)](https://daily.dev/posts/7-headless-cms-for-startups-to-scale-faster-2026--mdc9djkfi) · Prismic · 24 upvotes · 0 comments
- [Headless CMS Content Modeling: Expert Guide for Enterprise Scale Success](https://daily.dev/posts/headless-cms-content-modeling-expert-guide-for-enterprise-scale-success-fg4yrbq0f) · Netguru · 0 upvotes · 0 comments
- [6 Best Headless CMS Platforms 2026 \(Full Comparison\)](https://daily.dev/posts/6-best-headless-cms-platforms-2026-full-comparison--91kcvqjwf) · Prismic · 23 upvotes · 1 comments
- [How I Turned a Month-Long Migration Into a Weekend Project \(And You Can Too\)](https://daily.dev/posts/how-i-turned-a-month-long-migration-into-a-weekend-project-and-you-can-too--vocgozkbz) · Directus · 0 upvotes · 0 comments
- [Strapi vs Sanity: Simple Guide to Picking Your Headless CMS](https://daily.dev/posts/strapi-vs-sanity-simple-guide-to-picking-your-headless-cms-2z7tm16rm) · Netguru · 0 upvotes · 0 comments

---

Tags: [#cms](https://daily.dev/tags/cms)

[View this post on daily.dev](https://daily.dev/posts/headless-cms-migration-without-breaking-the-content-model-xswdnwvl9)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Headless CMS migration without breaking the content model","url":"https://daily.dev/posts/headless-cms-migration-without-breaking-the-content-model-xswdnwvl9","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/headless-cms-migration-without-breaking-the-content-model-xswdnwvl9"},"datePublished":"2026-09-24T10:32:04.504Z","dateModified":"2026-09-24T10:32:32.305Z","description":"A headless CMS migration is framed as schema translation rather than content transfer, since source and target platforms model content differently at the field...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bd666179f447d41b6d7862cf6577540d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bd666179f447d41b6d7862cf6577540d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Netguru","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Netguru","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/201e234294cb4132ab31418b7627dbab","url":"https://daily.dev/sources/netguru"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/headless-cms-migration-without-breaking-the-content-model-xswdnwvl9","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cms","timeRequired":"PT16M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Netguru","item":"https://daily.dev/sources/netguru"},{"@type":"ListItem","position":3,"name":"Headless CMS migration without breaking the content model"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/headless-cms-migration-without-breaking-the-content-model-xswdnwvl9#faq","mainEntity":[{"@type":"Question","name":"What breaks when migrating a WordPress site to a headless CMS like Contentful or Strapi?","acceptedAnswer":{"@type":"Answer","text":"Field-type mismatches, flattened relationships, locale model conflicts, and embedded asset URLs break first. WordPress rich-text fields accept nested HTML and shortcodes with no direct equivalent in Contentful's structured text field or Strapi's rich text field, causing validation failures such as 422 errors. Shortcodes ship as inert literal text, and iframe embeds throw unrecognized node type errors unless rebuilt as embedded entries. daily.dev surfaces practical migration breakdowns like this for teams planning a CMS cutover."}},{"@type":"Question","name":"What is the difference between locale-per-entry and locale-per-field in a headless CMS?","acceptedAnswer":{"@type":"Answer","text":"Locale-per-entry, used by Strapi's internationalization plugin, gives each locale its own entry linked to a default locale through a localization relation. Locale-per-field, used by Contentful, treats locale as a property of the field, so one entry holds multiple language values side by side and a reference field points at the entry once, resolved per locale at delivery. Picking the wrong model for existing content forces a structural rebuild. Teams comparing Contentful and Strapi localization models can track these tradeoffs on daily.dev."}},{"@type":"Question","name":"How deep does Contentful's Content Delivery API resolve linked references by default?","acceptedAnswer":{"@type":"Answer","text":"Contentful's Content Delivery API resolves linked references up to 10 levels deep on a single query by default. Reference graphs deeper than that need explicit include parameters or a flattening pass during migration, since most healthy content models never approach that depth; anything crossing three or four levels is a candidate to migrate as its own isolated bounded content type. daily.dev helps developers keep tabs on Contentful API behavior when planning reference-heavy migrations."}}]}
```

