What Reloque reads from Contentful
Reloque reads the space through its Content Management API, in every status and every locale. Contentful has no built-in posts or pages, so content types are told apart by name and fields: a type for posts, one for pages, your own types as types of their own, authors, and categories and tags, with Contentful's own tags too. Assets come as media. Rich Text keeps its headings, lists, links, formatting and images, and links between entries point at the moved records. SEO fields, or an SEO entry an entry links to, reach the other CMS's SEO fields, and menu and redirect entries come as menus and redirects.
How it lands in Sanity
Records go into the dataset's own document types, matched by name, writing the fields their documents have. A dataset with no posts or pages gets documents shaped as Sanity's blog starter (post, page, category, tag and author), which the Studio shows once its schema has those types. Bodies become Portable Text, with images uploaded as assets and links between records as references. Categories, tags and authors become documents of the types the dataset refers to. Each language becomes a document of its own, tied to the others as document internationalisation does. SEO data goes into an SEO object, menus into navigation documents and redirects into redirect documents. Drafts stay drafts, and published records are published.
What to plan for
Better to know now than after the switch. The free scan names anything on your site that cannot move.
- Contentful: Contentful has no members or comments, so neither moves into or out of it.
- Contentful: An entry embedded in Rich Text, rather than linked, keeps only its title, as a link.
- Contentful: Reloque does not add locales: add each language under Settings › Locales first, or it is left out with a note.
- Contentful: Contentful sets its own publish date, so the original date goes into a date field of the type where it has one.
- Contentful: Site settings and dictionary items have no place in Contentful, so they are left out.
- Sanity: Sanity has no members or comments, so neither moves into or out of it.
- Sanity: A block of your own in Portable Text, such as a call to action, keeps only a link to what it points at.
- Sanity: Translations kept field by field inside one document (internationalised arrays) are not read yet; translations as documents of their own are.
- Sanity: Documents Reloque writes into types your Studio has no schema for are stored, but the Studio shows them only once its schema has those types.
- Sanity: Site settings and dictionary items have no place in Sanity, so they are left out.
Versions checked
Contentful: One hosted service, so there are no versions to choose. Both regions, main and EU, work.
Sanity: One hosted service, so there are no versions to choose. Any Studio version works, as Reloque talks to the project's API.
Questions
Can Reloque migrate Contentful to Sanity?
Yes. Reloque moves content from Contentful to Sanity, for early-access members now. One hosted service, so there are no versions to choose. Both regions, main and EU, work. One hosted service, so there are no versions to choose. Any Studio version works, as Reloque talks to the project's API.
What does a migration from Contentful to Sanity cost?
The assessment is free and gives your exact price: you pay for the records a migration writes, and media files do not count. Packages start at £99, and records are shared across any number of migrations for 12 months.
Will my addresses and SEO survive the move?
Every address that changes gets a redirect, written to Sanity where it keeps redirects, or ready as a CSV for your host or front end. SEO titles, descriptions and social images move where Sanity has a place for them.
Is anything written to Sanity before I approve it?
No. You see every record in the Preview first, then a small sample is written to Sanity so you can check it on the real site, and undo it. Contentful is only ever read.