@modern/standing

Migration route

Drupal to Next.js.

A Drupal to Next.js migration exports nodes, paragraphs and entity references as a structured model, maps them into the target with relationships intact, and carries every path alias and language variant across on a version-controlled redirect manifest tested before cutover. Editor permissions are rebuilt as roles.

From · DrupalTo · Next.jsPattern · Phased / rollback

Migration compiler

READY / 00

DRUPAL objects pass through extraction, mapping and verification and assemble into a governed NEXT.JS model. The rollback manifest validates 5 of 5 mappings.

What this route involves.

Next.js: Server-rendered React with hybrid static and ISR output. Strongest where personalization, account areas, or app-like journeys sit alongside content.

Consideration 01

Nodes, paragraphs, and entity references map into structured content with relationships intact.

Consideration 02

Multilingual content and URL aliases carry across with a version-controlled redirect manifest.

Consideration 03

Decentralized editor permissions are rebuilt as roles in the target CMS, not flattened.

The work.

01

Inventory

Every URL, asset, metadata record, and integration catalogued before intent.

02

Model mapping

Source content types mapped to the target model with relationships intact.

03

Redirect manifest

Version-controlled, complete, and tested before cutover.

04

Phased cutover

High-value sections move first; rollback stays warm until the new estate proves itself.

The wider field.

Also evaluated

Next.js is the recommendation for this route, not the default. Every engagement is scored against the wider framework and headless-CMS field before a destination is chosen; the rest are selected only where the content shape or team genuinely calls for them.

Every Drupal URL gets a successor.

Drupal produces URL shapes Next.js will never generate on its own. Each one is exported, mapped and tested before cutover, so the first visitor to an old link lands on the right page, not a 404.

Redirect manifest · Drupal to Next.js

0 / 6 validating

  1. Node id/node/1842/services/consulting/
  2. Language alias/fr/node/1842/fr/services/consulting/
  3. Taxonomy term/taxonomy/term/27/topics/governance/
  4. Views pager/news?page=4/news/
  5. Managed file/sites/default/files/report.pdf/files/report.pdf
  6. Removed route/user/login/

Illustrative rows. The real manifest is exported from the estate, merged with crawl and log data, kept in version control and tested before cutover.

The move to Next.js, in five phases.

Nothing on Drupal is switched off until Next.js has proven itself against it. Scroll the phases; the stage follows.

  1. 01

    Inventory

    Every URL, asset, metadata record and integration is catalogued before anyone names a target. That inventory, not the page count, sets the budget and the timeline.

  2. 02

    Model

    Source content types are mapped to a typed model with relationships intact. Nothing is flattened into rendered HTML on the way across.

  3. 03

    Manifest

    Every legacy path gets a successor on a version-controlled redirect manifest. It is tested against the old estate before cutover, never after.

  4. 04

    Cutover

    High-value sections move first. Search Console and the 404 log are watched daily while the rest of the estate follows in phases.

  5. 05

    Rollback warm

    The old platform keeps serving until the new estate proves itself. Rollback stays one deliberate decision away, then it is retired.

How do Drupal nodes, paragraphs and entity references map into Next.js?

Drupal nodes, paragraphs and entity references map into Next.js as a typed content model: each content type becomes a document type, each paragraph type becomes a block within a structured body, and entity references become explicit references your frontend resolves at build or request time. Relationships survive because they are exported as relationships, never as rendered HTML.

Your export reads the Drupal database or the JSON:API output and writes every node with its fields, its paragraph tree and the IDs of everything it references. Taxonomy terms become documents of their own, hierarchy preserved. Media entities carry their file, alt text and focal point, and multi-value fields become arrays. Your mapping is written per content type and reviewed with the content owners, then run repeatedly against a staging target until the reconciliation report is clean.

Where the content lands depends on your estate. Drupal itself can serve the model through JSON:API during transition, while a structured headless CMS receives it when editorial governance needs rebuilding. In both cases the Next.js frontend reads from a typed layer, so a component knows what fields it will receive before the first page renders.

Should we upgrade Drupal 7 to Drupal 10 or migrate to Next.js?

Upgrade Drupal 7 to Drupal 10 in place when your estate still earns its Drupal complexity (heavy content modelling, thousands of decentralized editors, a thin custom module layer), and migrate to Next.js when the module surface is large, the editorial experience blocks your teams, or specialist Drupal capacity is what you cannot hire. Drupal 7 reached end of life in January 2025, so doing nothing is no longer on the list.

Compare cost over two upgrade cycles. A Drupal 7 to 10 upgrade is a rebuild. The module and theme layers do not carry across, and the next major version arrives on the same terms. A Next.js migration spends once on content modelling and then lowers the recurring specialist burden, since your frontend is React and TypeScript, skills you can hire for in any market.

Over three weeks at a fixed fee, the Modern Standing Audit scores both paths against editor count, integration surface and content volume, and it can recommend staying. Where it recommends leaving, the recommendation carries the reasons and the scope.

How are Drupal path aliases and redirects preserved in Next.js?

Drupal path aliases and redirects are preserved in Next.js by exporting every alias from the alias table, every entry from the Redirect module and every URL observed in a full crawl and the server logs, then merging them into one version-controlled redirect manifest that maps each legacy path to its successor and is tested before cutover. The node/123 paths go in too, since Google has indexed those as well.

Your manifest is where Drupal estates usually leak equity. Aliases exist per language, which means your export has to run per language as well. Views produce listing pages with pager and filter parameters that were indexed years ago, and files served from /sites/default/files have inbound links of their own. Each source is reconciled against the others. Any path that resolves in your old estate and has no mapping is logged as an exception before launch, never left for a visitor to find.

In Next.js the routes are yours to define. Most aliases are reproduced exactly, and only deliberately changed paths need a redirect at all. Search Console coverage and the 404 logs are then watched for weeks, and anything missed is amended in your manifest, in version control.

Questions, answered.

01

Can Drupal stay as the CMS behind Next.js?

Yes, the Drupal installation can serve content headlessly through JSON:API while the Next.js frontend replaces the theme layer, which lets editors keep their screens during transition. It is usually a stage. Drupal still needs patching, so the exit condition is planned when the decoupling is planned.

02

What happens to Drupal Views in a Next.js migration?

Views are inventoried as queries and rebuilt as data fetches in your frontend. Most are listing pages filtered by taxonomy or date, which become typed queries against the content layer. A View with exposed filters or complex relationships is named individually, because each one is a small piece of application logic.

03

How are thousands of Drupal editors moved to a new system?

Editor roles and permissions are exported from Drupal and rebuilt as roles in the target CMS with the same scoping, so a faculty or a service team keeps publishing within its own boundary. Your permission map is inventoried in week one because it decides which target platforms are viable at all.

04

Does a Drupal to Next.js migration keep accessibility conformance?

Accessibility conformance is carried as an acceptance criterion and tested on the way out. Service-critical templates are audited before migration. The Next.js components are built to the same conformance level, and your new estate is tested against the same standard before any section is switched.

05

How long does a Drupal to Next.js migration take?

A single Drupal estate typically takes 8 to 16 weeks. What moves your timeline is the number of content types and paragraph types, then the Views and custom modules to rebuild, then the multilingual alias manifest. Node count on its own moves it least. Multisite or multi-market estates run at Transformation scale over 6 to 18 months.

Other routes from Drupal.

Free automated assessment

Scope this route with evidence.