Book a 20-min call

WordPress to Next.js

From WordPress to Next.js.

WordPress to Next.js, with every URL kept and a CMS your team can still edit. We rebuild your WordPress site in Next.js and put the front end in a repo your engineers can review.

WordPressNext.js
  • Every URL mapped before launch
  • Content and CMS carried across
  • Rankings checked for 30 days

Test your site on the Migration Planner

Enter your site and where it’s moving. Get a one-page brief you can forward to your CEO: which pages keep their address, which tools carry over, and a realistic timeline. Free, no sign-up.

The problem

Most replatforms lose something.
Usually the thing nobody was watching.

  • Rankings drop without warning

    Redirects were missed, the URL structure did not match, and nobody knew which pages had traffic until they stopped.

  • You still can't edit it yourself

    New platform, same problem. Every page still needs a developer, so nothing changes after launch.

  • Years of pages nobody will delete

    Years of pages no one has authority to delete, and no record of which ones were actually earning anything.

What Content And SEO Move From WordPress to Next.js?

WordPressNext.js

  • Theme & design

    Rebuild your theme as Next.js routes and components.

    What changes
    Pages are built as code you own, reviewed before they go live.
    We check
    Every template signed off on desktop, tablet and phone.
  • CMS & content

    Keep WordPress headless, or move to Sanity or Contentful.

    What changes
    Editors work in a CMS, and pages update without a code change.
    We check
    Posts and pages come out through the WordPress export or REST API. Item counts, fields and images compared after import.
  • SEO & metadata

    Render pages on the server with titles, metas and schema.

    What changes
    Redirects live in your Next.js config or host, not in a plugin.
    We check
    Every old URL crawled after launch: it loads, or 301s to the right page.
  • Forms & tracking

    Move forms to a form service and reconnect analytics.

    What changes
    Forms post to a form service or serverless function you own.
    We check
    Test submissions reach the CRM, and analytics events match the old site.
  • Plugins

    Replace each plugin with code or a hosted service.

    What changes
    Each one becomes code or a hosted service, with nothing left to patch.
    We check
    Every plugin or app listed with a keep, replace or drop decision.
  • Hosting & deploys

    Deploy from Git to Vercel or the host you choose.

    What changes
    Every change gets a preview link before it goes live.
    We check
    A rollback ready before the domain switches.

How the move works

How The WordPress to Next.js Move Works, Technically.

01

How content leaves WordPress

Posts and pages come out through the WordPress REST API or the XML export. The sitemap gives the full URL list to check against.

# Every URL WordPress publishes (sitemap index since WordPress 5.5)
curl -s https://example.com/wp-sitemap.xml

# Posts as JSON, 100 per request: repeat with &page=2, 3 and so on
curl -s "https://example.com/wp-json/wp/v2/posts?per_page=100&page=1" > posts-1.json

# Or the full XML export (Tools > Export in WP admin), or with WP-CLI
wp export --dir=./export

02

Redirects on Vercel

Redirects live in next.config.ts, generated from the signed-off map. permanent: true sends a 308, which Google treats the same as a 301. For thousands of rules, use a lookup in middleware instead.

next.config.ts

// next.config.ts
import type { NextConfig } from "next";

const config: NextConfig = {
  async redirects() {
    return [
      // Date permalinks to the new blog path
      { source: "/:year(\\d{4})/:month(\\d{2})/:slug", destination: "/blog/:slug", permanent: true },
      { source: "/category/:slug", destination: "/blog/topic/:slug", permanent: true },
      { source: "/services.html", destination: "/services", permanent: true },
    ];
  },
};

export default config;

03

What breaks on this route

  • Shortcodes and page builder blocks (Elementor, Divi) arrive as raw [shortcode] text or nested divs, and need rebuilding as components.
  • Yoast or Rank Math titles and descriptions sit in post meta, not in the post body. Pull them across or every title changes silently.
  • WordPress URLs end in a slash and often carry dates. Keep the exact pattern or redirect it.
  • Contact Form 7, Gravity Forms and other plugins stop working. Every form needs a new destination.
  • Feeds, tag and author archives and old ?p=123 links that still get visits or backlinks.

Doing it yourself? Read How to Migrate a Website with Claude Code: the rules file, prompts, URL inventory, SEO match check and DNS cutover, step by step.

Fit check

Should You Move From WordPress to Next.js?

Tick what is true for your site for a quick verdict, then check the facts that decide it.

Quick self check

Tick what applies to see if Next.js suits your site.

  • A good fit

    Teams whose front end belongs in an application framework, with engineers who will review pull requests.

  • Consider alternatives

    Teams who need a visual canvas for every layout, or who would be better served by a lighter static setup such as Astro.

  • Know the limits

    Themes, PHP and plugins do not run in Next.js. SEO, forms and analytics plugins are replaced with code or hosted services.

Next.js at a glance

Rendering
Server rendering or static pages, chosen page by page.
SEO
Built in controls for titles, descriptions, social previews and structured data.
App features
Logged in areas, APIs and server actions in one codebase.
Content
Pairs with Sanity, Contentful or headless WordPress.
Images
Built in image optimisation and lazy loading.
Hosting
Deploys to Vercel or any Node host.

In the price

What Is Included In A WordPress to Next.js Migration?

The audit comes first and it is free. Everything below is in the price after that.

  • URL inventory

    Pages show traffic weight, revealing what earns before changes.

  • The redirect map

    Built and signed off before any page moves, then tested against the map.

  • The new build

    A Next.js app in your own repo, with server-rendered pages and content in a CMS your editors can use.

  • CMS remodelled around your team

    Not copied across as it was. Collections structured for the people who will actually update them, with training before handover.

  • 30 days of monitoring

    Rankings, crawl errors and redirect health after go-live. Problems often show up in week three, so somebody should still be looking.

The process

How Does A WordPress to Next.js Migration Work?

  1. We have never quoted a migration blind. Full URL inventory weighted by traffic, the redirect map, what will not map cleanly, and what the move actually costs. The audit is free.

  2. Sometimes the audit says the move is not worth it yet. We will tell you that, and you keep the inventory and the plan either way.

  3. The new site, with the CMS restructured around your team rather than copied across as it was. Redirects built and tested against the signed-off map before anything points at production.

  4. Launch, then thirty days monitoring rankings, crawl errors and redirect health. Problems often show up in week three, so somebody should still be looking.

How Much Does A WordPress to Next.js Migration Cost?

Cost and timing

Your audit defines the pages, CMS and integrations. You get a clear quote and schedule before the build starts.

Builds and migrations
From $10,000
Audit before the quote
48 hours
  1. 1Free auditDone in 48 hours
  2. 2Fixed quotePages, CMS and integrations priced
  3. 3Build on stagingRedirects tested against the map
  4. 4LaunchZero downtime cutover

After launch

30 days

We check redirects, forms and tracking, then monitor search signals and train your team. Support duration is agreed in your scope.

  • Launch dayRedirects, forms and tracking tested on the live site
  • Week oneSearch Console and analytics compared with the old site
  • Days 1 to 30Rankings, crawl errors and redirect health watched
  • HandoverYour team trained to edit pages and CMS

The WordPress to Next.js Migration In Detail.

What actually moves from WordPress to Next.js

A WordPress to Next.js migration replaces themes and plugins with a React codebase you own. Content moves to a headless CMS or to files, and every URL that earns traffic is mapped. This is how each part is handled.

On WordPressOn Next.jsHow we handle it
Theme templatesNext.js routes and React componentsRebuilt as a component library, not ported line by line
Posts, pages and custom post typesA headless CMS or MDX filesExported, cleaned of shortcodes and checked against the live site
SEO plugin fieldsThe Next.js Metadata API and JSON-LDTitles, descriptions, canonicals and social images carried over
Redirect plugin rulesRedirects in next.config.js or at the hostMerged with the new redirect map and tested
Contact and lead formsRoute handlers, server actions or a form serviceNotifications and CRM connections set up again
Caching and performance pluginsStatic generation and incremental revalidationPages are pre-built, so most caching plugins are no longer needed

The WordPress URL patterns we map

  • Date-based permalinks such as /2022/05/your-post/, usually moved to /blog/your-post.
  • Trailing slashes. WordPress adds them by default and Next.js does not, so we set one canonical form and redirect the other.
  • /category/, /tag/ and /author/ archives, kept only where they rank.
  • Plain ID links such as /?p=123 and paginated lists such as /page/2/.
  • Uploads under /wp-content/uploads/, especially linked PDFs.
  • Feeds at /feed/, rebuilt or redirected so subscribers do not hit a 404.

Where your content should live after the move

  • A headless CMS such as Sanity, Storyblok or Contentful, when marketers publish often and need previews.
  • MDX in the repo, when the people publishing are developers.
  • Headless WordPress, when editors want to keep the WordPress screen and you accept the upkeep that comes with it.

Is Next.js the right destination?

Next.js is the right call when the marketing site needs to share code with your product, show logged-in content, or run real application logic. For a content-only site, Astro is lighter and usually cheaper to run. Compare the options in Framer vs Next.js, WordPress to Astro and WordPress to a headless CMS, or start with Leaving WordPress.

What we check before launch

  • Shortcodes and embeds that would otherwise print as raw text.
  • Hosting and rendering choices, so pages that should be static are not rendered on every request.
  • Redirects stored in WordPress plugins, merged into the new map.
  • Internal links that point at old permalinks.
  • Core Web Vitals on real templates, not only on the homepage.
  • DNS changes, which only happen once every redirect is live and tested.

How long it takes and what it costs

Migrations start from $10,000. The audit comes first and it is free, so you see the plan before you commit to anything. The final quote depends on how many URLs carry traffic, how many content types and integrations need rebuilding, and how much of the design is changing at the same time. If you would rather stay on WordPress for now, a Tune-Up at $5,000 can be the better first step.

You get the timeline with the quote, after the audit, so the dates are based on your real URL count rather than a guess. If you want a first read before talking to anyone, run your sitemap through the migration planner. Every package and its scope is listed on our pricing page.

Last updated November 2026.

Related routes: WordPress to a headless CMS, WordPress to Astro, Webflow to Next.js and Lovable to Next.js.

Compare Other WordPress And Next.js Migrations.

Not sure which route is right? The free audit tells you, with a redirect map and a fixed quote.

Book a call

Why Goodspeed

Goodspeed is a London design and build studio for funded tech companies, with many US clients as well as UK ones. We design and build in Framer as a Framer Enterprise Partner, build in Next.js when Framer is not the right fit, build AI products, and can be your ongoing design and creative partner.

Clients include Waste Logics, Sydecar, Wisk (Boeing-backed), HighPath, Bent Pixels and Reka.

β€œTheir ability to turn a complex software offering into a clear, visually engaging website stood out.”

Emma Kennedy, Head of Marketing, Waste Logics

Book a 20-minute website review

FAQs

WordPress to Next.js Migration FAQs.

How do you migrate a WordPress site to Next.js?

We audit every URL, move posts and pages into a CMS the editors can use, rebuild the theme as Next.js routes and components, and redirect any permalinks that change. The app is tested before the domain switches over.

Can we keep WordPress as our CMS?

Yes. Next.js can read content from the WordPress REST API, so editors keep wp-admin while the public site is served by Next.js. The audit also compares this with moving content into Sanity or Contentful.

What happens to our WordPress plugins?

Plugins do not run in Next.js. SEO, forms and analytics plugins are replaced with built-in code or hosted services. Anything that cannot be replaced cleanly is flagged in the audit.

Will our WordPress URLs and rankings be kept?

We keep your permalinks where possible and redirect any that change. Rankings can move during any migration, and no provider can guarantee them. Monitoring after launch reduces the risk.

Is Next.js the right code front end, or is Astro better?

Next.js is the better fit when you need an application framework, custom routing or server work. If you only need a faster marketing front end, Astro may be the more honest option. The audit will say so.

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

It depends on post count, custom fields, plugins and any application logic. The audit sets the scope, and we agree the schedule before the build starts.

Do we need a developer to publish content on Next.js?

No. Content lives in a CMS, so editors publish posts and pages without code. A developer is only needed for new templates or features.

Where is a Next.js site hosted?

Usually on Vercel or another host that runs Node.js. Pages that never change can also be exported as static files. We choose the host with you in the audit, based on traffic, features and who will look after it.

Which Next.js rendering mode should a marketing site use?

Mostly static generation with incremental revalidation. Pages are pre-built and refreshed when content changes in the CMS, so they load fast without a caching plugin. Server rendering is kept for pages that depend on the visitor, such as an account area.

How are WordPress redirects handled in Next.js?

Existing plugin redirects are exported and merged into the new redirect map. Simple and pattern rules live in next.config.js, and very large maps sit in middleware or the host's bulk redirect feature. Next.js returns a 308 for permanent redirects, which search engines treat like a 301.

What does a WordPress to Next.js migration cost?

Migrations start from $10,000, and the audit is free. The final quote depends on how many URLs carry traffic, how many content types and integrations need rebuilding, and how much design changes. If you want to stay on WordPress for now, a Tune-Up is $5,000 fixed.

Can we keep WordPress live while the Next.js site is built?

Yes. WordPress stays live until launch day. We freeze content shortly before the switch, run a final export so nothing published in the meantime is lost, and change DNS only once every redirect is tested.

Talk directly to the founder

Your growth depends on shipping fast, iterating often, and keeping things moving.

Don’t need a call? Email harish@goodspeed.studio