Agenxus

WordPress to Next.js Migration Checklist: Keep Your Rankings

A step-by-step checklist for migrating WordPress to Next.js without losing search traffic: inventory, URL decisions, content model, metadata parity, redirects, launch day and the 60 days after. Downloadable.

Agenxus Team••13 min•
#WordPress#Next.js#Website Migration#Technical SEO#Redirects#Headless CMS
WordPress to Next.js Migration Checklist: Keep Your Rankings

Summary

A WordPress to Next.js migration loses rankings for four reasons: URLs change without redirects, metadata does not carry over, content gets trimmed, and nobody watches Search Console afterwards. Everything in this checklist exists to prevent one of those four. Work through it in order. Items marked must are the ones that cause losses when skipped.

Download the checklist as a Markdown file →

Want it emailed, plus a note when we update it? One email, no sequence.

No newsletter, no automated sequence. A person replies.

1. Inventory before any build work

You cannot protect what you have not measured. Before a line of Next.js is written, build a spreadsheet with one row per URL on the live site.

  • Must: a full crawl with status code, title, description, canonical, H1 and word count.
  • Must: 16 months of Search Console performance by page: clicks, impressions, top queries.
  • Must: backlinks by target URL from your link tool.
  • Analytics landing pages and conversions by page.
  • Every plugin and what it does: SEO, redirects, sitemaps, forms, caching, image sizes, previews, search, RSS, schema.
  • Custom post types, taxonomies, custom fields and shortcodes in use.
  • Current Core Web Vitals field data for ten key pages, as a baseline.

2. Decide every URL

Each row in the inventory gets one of four decisions. Do this with the traffic and link columns visible so the decision is made on value, not on how tidy the new structure looks.

DecisionWhenWhat happens
KeepThe URL is clean and the page is worth havingSame URL on the new site, no redirect needed
MoveThe page is worth having, the URL is notNew URL, 301 from the old one to the new one specifically
MergeSeveral thin pages cover one topicOne stronger page, 301 from each old URL
RetireNo traffic, no links, no purpose410 Gone, removed from sitemaps

WordPress generates more URLs than people remember: date archives, /category/, /tag/, /author/, /page/2/, attachment pages, /feed/ and ?s= search results. Decide all of them. Also decide your trailing-slash policy once and apply it to every redirect, or you will create redirect chains on day one.

3. Model the content

Exporting posts as HTML blobs keeps the words and loses the structure. Define content types with fields instead: posts, pages, services, team members, locations, case studies, each with the fields it actually has. Map categories, tags and custom taxonomies onto that model. Export through the WordPress REST API or WP-CLI, including custom fields and featured images, then convert Gutenberg blocks and shortcodes into structured content or clean HTML. Preserve authors and both publish and modified dates. Download all media and rewrite internal links and image paths to the new locations.

4. Metadata parity

  • Must: titles and meta descriptions carried over exactly, then improved only where there is a reason.
  • Must: a canonical tag on every page, self-referencing by default.
  • Must: noindex replicated on pages that had it: thank-you pages, internal search, tag archives.
  • Open Graph and Twitter metadata per page type.
  • hreflang if the site is multilingual.
  • Schema.org JSON-LD rebuilt per template: Organization, Article, BreadcrumbList, FAQPage, Product or Service as applicable.

5. Technical build

  • Must: content pages are server-rendered or statically generated. No client-only rendering of the main content.
  • Must: an XML sitemap generated from the content source, split if it exceeds 50,000 URLs.
  • Must: robots.txt with the sitemap reference and the same disallow rules as before.
  • 301 redirects implemented server-side, in the Next.js config or middleware, tested against the full crawl.
  • A custom 404 page that returns a real 404 status.
  • Pagination with real URLs, not infinite scroll alone.
  • Images with explicit width and height to avoid layout shift.
  • RSS if readers or syndication depend on it; site search; forms with the same destinations.
  • Third-party scripts loaded with the right strategy so they do not block interaction.
  • Core Web Vitals checked on staging for the same ten key pages from the baseline.

6. Pre-launch QA

Run the full old-URL list against staging. Every URL must resolve 200 or 301 to the right page, with no chains. Compare titles, descriptions and canonicals old versus new in the spreadsheet. Validate structured data on every template. Crawl staging with redirects followed and look for 404s. Check that internal links point directly at new URLs rather than through redirects. Confirm staging is noindex and that the flag will be flipped at launch.

7. Launch day

  1. Freeze content on WordPress. Take a final export. Migrate anything published since the first export.
  2. Flip DNS or routing. Remove noindex. Confirm robots.txt in production.
  3. Submit the new sitemap in Search Console. Keep the old property verified.
  4. Re-run the full old-URL check against production.
  5. Spot-check twenty pages by hand on a phone.

8. The 60 days after

Check Search Console daily in week one for coverage errors, soft 404s and redirect errors. Watch Core Web Vitals field data start to populate. From week two to week eight, compare clicks and impressions by page against the pre-migration export. Any page down more than 30 percent gets checked in this order: redirect, content, metadata. Keep the redirects permanently. Decommission the WordPress hosting only after the monitoring period, and keep a backup.

Want it done for you? We migrate WordPress sites to Next.js with this exact process, from inventory to 60-day monitoring. See the WordPress to Next.js migration service, or the broader rebuilds and content migration page if you are moving off Wix, Squarespace or an old custom CMS.

Frequently Asked Questions

Will migrating from WordPress to Next.js hurt SEO?▼
Only if URLs change without redirects, metadata is dropped, content is removed, or the new site renders content on the client. Handle those four and the migration is usually neutral to positive, because the new site is faster and cleaner. Rankings can still fluctuate for a few weeks while Google recrawls.
Should I keep the same URLs when moving to Next.js?▼
Yes, wherever the existing URL is clean. Keeping a URL transfers its ranking signals with no redirect at all. Change URLs only when there is a clear benefit, and then 301 each old URL to its specific new page, never to the homepage.
Do I need headless WordPress or a new CMS?▼
Headless WordPress keeps your editors in the admin they know and only replaces the front end. A new CMS makes sense when the content is structured, the team is small, or WordPress itself is the maintenance burden. Both work with Next.js; the checklist is the same except for the export step.
How long should I monitor after launch?▼
Daily for the first week, then weekly for 60 days. Most problems appear within two to six weeks as Google recrawls: redirect chains, soft 404s, pages that lost their canonical or metadata. Keep the old WordPress hosting until the monitoring period is over.
Can I remove the redirects after a year?▼
No. External links to old URLs never expire. Keep redirects permanently; they cost nothing in a Next.js config.

Want a site built to be cited in AI search, without losing your rankings?

We redesign and migrate established websites with every URL and redirect accounted for, structure them for Google AI Overviews, ChatGPT and Perplexity, then build in a content engine that drafts pages like this one for your editor to approve.

No lost rankings at launchStructured for AI searchSchema & internal links generatedScheduled maintenance