@modern/standing

Migration route

Custom CMS to Next.js.

A custom CMS estate has no vendor docs: only the database, the templates and institutional memory. The migration extracts every content type, URL, integration and workflow, governs it as a modelled estate, and delivers it on a maintainable stack your team can hire for.

From · Custom CMSTo · Next.jsPattern · Phased / rollback

Migration compiler

READY / 00

CUSTOM CMS 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

Database, templates and integrations inventoried directly. There is no vendor migration tool.

Consideration 02

Undocumented content types and URL schemes are extracted and modelled, not approximated.

Consideration 03

The new estate ships with documentation the old one never had.

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 Custom CMS URL gets a successor.

Custom CMS 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 · Custom CMS to Next.js

0 / 6 validating

  1. Numeric id/page.php?id=118/services/
  2. Archive params/news.php?y=2018&m=4/news/
  3. Case and name/Downloads/Brochure_FINAL2.pdf/files/brochure.pdf
  4. Default document/en/index.html/
  5. Static .htm/team/jsmith.htm/about/
  6. CGI/cgi-bin/search.cgi/search/

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 Custom CMS 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 you migrate a custom CMS to Next.js with no documentation?

An undocumented custom CMS migrates to Next.js by reconstructing your content model from your database schema, the URL set from crawls and server logs, and the business rules from your templates and scheduled jobs themselves, with each discovery written down before anything is built. The absence of documentation changes the method. It does not change the outcome, and your new estate ships with the documentation the old one never had.

The database comes first, because it is usually the most valuable asset you own. Tables map to content types, columns to fields and foreign keys to references, and any column no template ever reads is named so you can retire it. Then your templates are read for logic: conditional rendering, computed fields, hard-coded business rules nobody remembers adding. Each becomes a field in the model or a function in your frontend, or a documented decision to drop it.

Next.js receives the result as a typed content layer, served from a headless CMS or from Payload inside the app, and your frontend components know their inputs before the first render. Your export script runs repeatedly against staging until the reconciliation report matches the source row for row.

What integrations break when a custom CMS moves to Next.js?

The integrations that break when a custom CMS moves to Next.js are the ones nobody inventoried (the scheduled job that pushes data to the CRM overnight, the endpoint a partner still calls, the email trigger buried in a template), which is why your migration begins by finding every inbound and outbound connection in the code, the server configuration, the logs and the firewall rules before any of them is rebuilt. Bespoke integrations are the norm in estates like this, each one expensive to change and easy to forget.

Once found, each connection is classified. Inbound endpoints partners depend on are reproduced in Next.js route handlers with the same contract, or a redirect and a notice period are agreed with the partner. Outbound pushes become explicit jobs, monitored. Authentication against an internal directory moves to your identity provider. Anything whose consumer cannot be identified keeps running in parallel with logging until it either shows traffic or is retired with a dated decision.

The incumbent stays warm well past launch for this reason. When something that quietly worked for years stops, rollback exists, and the exception register names what was missed.

How is key-person risk handled when migrating a custom CMS to Next.js?

Key-person risk is handled by making your migration itself the documentation: every content type, URL scheme, integration and workflow discovered is recorded with an owner as it is found, so by cutover your organization holds a written model of your estate that no longer depends on the one person, or the departed agency, who built it. If that person is still available, their time goes on confirming findings. They are never the only source.

Your target stack is chosen with hiring in mind. Next.js is React and TypeScript, skills you can recruit for in any market, and the content lives in a typed model with a schema in code. Your runbook, your redirect manifest, the integration register and the role map are handed over in the repository. Nothing about how your new estate works lives in one head.

For teams who want the cadence held after launch, Modern Standing Care is a standing quarterly retainer that re-scores your estate and keeps upgrades current. Take it or not, your estate is designed so that any competent Next.js developer can pick it up from the documentation alone.

Questions, answered.

01

How long does a custom CMS to Next.js migration take?

A single custom CMS estate typically takes 8 to 16 weeks. Discovery is the part that stretches it, because there is no vendor tool, and your content model, the URL set and the integrations all have to be reconstructed from evidence. The Modern Standing Audit sizes that discovery over three weeks before you commit.

02

Can we migrate a custom CMS with no staging environment?

Yes, and a staging environment is one of the first things your migration creates, cloned from the production database and code. Every export and every cutover rehearsal runs against it. Production is never the place where a script is tried for the first time.

03

What if our custom CMS is built in .NET or an old PHP framework?

The language matters less than the data. The database is read directly whatever the application was written in, templates are read for logic in any language, and the URL set is reconstructed from crawls and logs. Where the runtime is unsupported, discovery runs first so your estate can be retired sooner.

04

Where does content get edited after a custom CMS moves to Next.js?

Editors move into a structured headless CMS or into Payload inside the Next.js app, chosen at audit against editor count and workflow needs. User and permission models from the old system are rebuilt as roles. Preview renders the real frontend before anything is published.

05

Who owns the new estate's documentation after cutover?

You do. The content model, redirect manifest, integration register, role map and runbook are written as they are discovered and handed over in the repository, so your estate can be maintained by any competent Next.js developer. The documentation is a deliverable. Its absence is what brought your old estate here.

Other routes from Custom CMS.

Free automated assessment

Scope this route with evidence.