# WordPress to Next.js Migration Checklist

Keep your rankings when you move off WordPress. Work through every section before cutover; the items marked (must) are the ones that cause ranking losses when skipped.

Source and updates: https://www.agenxus.com/blog/wordpress-to-nextjs-migration-checklist
Need help? https://www.agenxus.com/services/wordpress-to-nextjs-migration

## 1. Inventory (before any build work)

- [ ] (must) Full crawl of the live WordPress site: every URL, status code, title, description, canonical, H1, word count
- [ ] (must) Export 16 months of Search Console performance by page (clicks, impressions, queries)
- [ ] (must) Export backlinks by target URL from your link tool
- [ ] Export analytics landing pages and conversions by page
- [ ] List every plugin and what it does: SEO, redirects, sitemaps, forms, caching, image sizes, previews, search, RSS, schema
- [ ] List custom post types, taxonomies, custom fields and shortcodes
- [ ] Record current Core Web Vitals (PageSpeed Insights field data) for 10 key pages as a baseline

## 2. Decide every URL

- [ ] (must) Mark each URL: keep (same URL), move (new URL + 301), merge (301 to the merged page), retire (410) 
- [ ] (must) Keep URLs unchanged wherever the existing path is clean
- [ ] Decide trailing-slash policy once and apply it everywhere, including redirects
- [ ] Handle date-based permalinks, /category/, /tag/, /author/, /page/N/ and ?s= search URLs
- [ ] Decide what happens to attachment pages and media URLs under /wp-content/uploads/
- [ ] Map every feed URL (/feed/, /comments/feed/) to a new feed or a 410

## 3. Content model

- [ ] Define content types with fields (not HTML blobs): posts, pages, services, team, locations, case studies
- [ ] Map categories, tags and custom taxonomies to the new model
- [ ] Export via WordPress REST API or WP-CLI, including custom fields and featured images
- [ ] Convert Gutenberg blocks and shortcodes to structured content or clean HTML
- [ ] Preserve author data and publish/modified dates
- [ ] Download all media; rewrite internal links and image paths

## 4. Metadata parity

- [ ] (must) Titles and meta descriptions per page carried over exactly, then improved only where there is a reason
- [ ] (must) Canonical tags on every page, self-referencing by default
- [ ] (must) Robots meta: replicate noindex pages (thank-you pages, internal search, tag archives if they were noindexed)
- [ ] 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/Service as applicable

## 5. Technical build

- [ ] (must) Content pages server-rendered (SSR) or statically generated (SSG); no client-only rendering of main content
- [ ] (must) XML sitemap generated from the content source, split if over 50,000 URLs
- [ ] (must) robots.txt with sitemap reference and the same disallow rules as before
- [ ] 301 redirects implemented server-side (next.config redirects or middleware), tested against the full crawl
- [ ] Custom 404 page returning a real 404 status
- [ ] Pagination with real URLs, not infinite scroll only
- [ ] Image optimization with explicit width/height to avoid layout shift
- [ ] RSS feed if readers or syndication depend on it
- [ ] Site search replacement
- [ ] Forms rebuilt with spam protection and the same destinations
- [ ] Third-party scripts loaded with next/script and the right strategy
- [ ] Core Web Vitals checked on staging for 10 key pages

## 6. Pre-launch QA

- [ ] (must) Run the full old-URL list against staging: every URL resolves 200 or 301 to the right page, no chains
- [ ] (must) Compare titles, descriptions and canonicals old vs new in a spreadsheet
- [ ] Validate structured data on every template
- [ ] Crawl staging with the crawler set to follow redirects and report 404s
- [ ] Check internal links point to the new URLs, not through redirects
- [ ] Confirm staging is noindex and will be flipped at launch

## 7. Launch day

- [ ] Freeze content on WordPress; take a final export; migrate anything published since the first export
- [ ] Flip DNS or routing; remove noindex; confirm robots.txt is correct in production
- [ ] Submit the new sitemap in Search Console; keep the old property verified
- [ ] Re-run the full old-URL check against production
- [ ] Spot-check 20 pages by hand on mobile

## 8. The 60 days after

- [ ] Week 1: check Search Console daily for coverage errors, soft 404s and redirect errors
- [ ] Week 1: watch Core Web Vitals field data begin to populate
- [ ] Weeks 2 to 8: compare clicks and impressions by page against the pre-migration export
- [ ] Fix any page down more than 30 percent: check its redirect, content and metadata first
- [ ] Keep the redirects permanently; do not remove them after a year
- [ ] Decommission WordPress hosting only after the monitoring period, and keep a backup

Prepared by Agenxus, Naperville, IL. https://www.agenxus.com
