What Reloque reads from Sanity
Reloque reads the dataset through Sanity's API, drafts included. Sanity keeps its schema in the Studio's code, so document types and their fields are read from the documents themselves, and 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. Images and files come as media. Portable Text keeps its headings, lists, links, formatting and images, and references between documents point at the moved records. Translations made with document internationalisation come as each record's languages, an SEO object reaches the other CMS's SEO fields, and menu and redirect documents come as menus and redirects.
How it lands in WordPress
Posts follow the site's permalink setting, and with the Redirection plugin installed each old address redirects to its new one, along with the old site's own redirects. Media lands in the Media Library with its alt text, featured images, categories and tags are linked, with categories under their parents, and authors are matched to existing users. Every category and tag comes over, including those no post uses, and so does every term of your own taxonomies. Members can move too, as subscribers, without their passwords. The site's title, tagline, logo and timezone are set where the new site has none yet. Menus arrive as WordPress menus, at the theme location they had, with each link pointed at the moved page. Comments arrive with their replies, under each commenter's own name and email, at their own dates, approved or waiting for a moderator as they were. SEO data goes to Yoast SEO or Rank Math, whichever the new site runs, its social images copied to the Media Library.
A Sanity post, written into WordPress
| Sanity | becomes | WordPress |
|---|---|---|
| Title and slug | Title and slug | |
| Portable Text body | Content, with images in the Media Library | |
| Excerpt | Excerpt | |
| Main image | Featured image | |
| Category documents | Categories, under their parents | |
| Tag documents | Tags | |
| Author document | Author | |
| seo object | Yoast SEO or Rank Math |
What to plan for
Better to know now than after the switch. The free scan names anything on your site that cannot move.
- 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.
- WordPress: Rank Math's REST API does not show its SEO data, so connect a Rank Math site with its export file or the bridge file to move it. Yoast's REST API takes SEO data on posts only, and of it only the SEO title, description and focus keyword (older Yoast, such as 19.6, takes none); what a WordPress destination with Yoast cannot take is named in the run report.
- WordPress: Page-builder layouts move as the HTML they render, not as builder settings.
Versions checked
Sanity: One hosted service, so there are no versions to choose. Any Studio version works, as Reloque talks to the project's API.
WordPress: Checked on WordPress 7.1 and 6.0, and 5.5 as a source.
Questions
Can Reloque migrate Sanity to WordPress?
Yes. Reloque moves content from Sanity to WordPress, for early-access members now. One hosted service, so there are no versions to choose. Any Studio version works, as Reloque talks to the project's API. Checked on WordPress 7.1 and 6.0, and 5.5 as a source.
What does a migration from Sanity to WordPress 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 WordPress where it keeps redirects, or ready as a CSV for your host or front end. SEO titles, descriptions and social images move where WordPress has a place for them.
Is anything written to WordPress before I approve it?
No. You see every record in the Preview first, then a small sample is written to WordPress so you can check it on the real site, and undo it. Sanity is only ever read.