What Reloque reads from Directus
Reloque reads Directus's data model first, as Directus has no content types of its own: a collection called posts, articles, blog or news is read as posts, one called pages as pages, and every other collection as a type of its own, singletons as site settings. Each item comes with its fields, files and galleries, the categories and tags it relates to (under their parents), its author (the user who made it when nothing else names one), page builder blocks and links to other items. HTML, Markdown and block editor fields are read as HTML. Translations come in every language, the file library comes as media, and the redirects collection, the navigation menus and the SEO field come too. Members come when you choose them: users in a role that cannot use the Directus app, with their role and fields but never their passwords.
How it lands in Payload
Bodies become Payload rich text, images are uploaded to your upload collection, and categories, tags and authors are created where missing and linked, categories under their parents where your categories have a parent field. Blocks, arrays and groups are filled field by field, and relationships point at the migrated records. Each record keeps its old address in sourceUrl, for redirects, and with the redirects plugin installed each old address redirects to its new one, along with the old site's own redirects. A site in several languages moves into each locale of your localized fields. Members can move too, into a collection with sign-in other than your admins', without their passwords. Menus from another CMS fill a global's list of links, a main menu the header's and a footer the footer's.
What to plan for
Better to know now than after the switch. The free scan names anything on your site that cannot move.
- Directus: Directus has no content types of its own, so posts and pages are found by their collections' usual names; another collection moves as a type of its own, and the Map step says where.
- Directus: Directus 12's free Core licence allows 25 collections and three seats. Reloque checks the room before it makes collections, and authors and members take no seat, but a large model may need a licence.
- Directus: A field the destination collection lacks is left out with a note; Reloque makes whole collections, not single fields.
- Directus: Directus 8 and older use another API, so Reloque connects to Directus 9 and later.
- Directus: Flows, dashboards, presets and roles' permissions stay in Directus.
- Payload: Payload has no front end, so redirects assume pages at /<slug> and posts at /blog/<slug> until you change them to your routes.
- Payload: Original publish dates are kept when the collection has a publishedAt field.
- Payload: With GraphQL turned off, fields are learned from your existing documents, so a collection with none yet takes plain values and leaves out what Payload refuses.
- Payload: Payload's locales are set in its config only, so add each language the old site has to localization, and mark the fields to translate localized, before you migrate.
- Payload: Payload has no comments of its own, so comments from another CMS are listed in the handover package.
- Payload: SEO data goes into an SEO group, your own or the SEO plugin's meta group, field by field; what the group has no field for is named in the run report.
Versions checked
Directus: Checked on Directus 12.7, 11.17, 10.13 and 9.26.
Payload: Checked on Payload 3.92 (Postgres), 2.32 and 1.15 (MongoDB).
Questions
Can Reloque migrate Directus to Payload?
Yes. Reloque moves content from Directus to Payload, for early-access members now. Checked on Directus 12.7, 11.17, 10.13 and 9.26. Checked on Payload 3.92 (Postgres), 2.32 and 1.15 (MongoDB).
What does a migration from Directus to Payload 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 Payload where it keeps redirects, or ready as a CSV for your host or front end. SEO titles, descriptions and social images move where Payload has a place for them.
Is anything written to Payload before I approve it?
No. You see every record in the Preview first, then a small sample is written to Payload so you can check it on the real site, and undo it. Directus is only ever read.