Migrations 29 Jan 2026 13 min read

Migrating from Webflow to Next.js Without Losing Rankings

A step-by-step playbook for Webflow-to-Next.js migrations — including how to replicate Webflow's automatic redirect handling, preserve meta tags, and validate structured data before go-live.

Webflow makes SEO relatively easy: the platform handles canonical tags, generates sitemaps automatically, and provides sensible meta tag defaults. When you move to Next.js, you assume responsibility for all of this — and teams that don't realise this until after launch pay for it in rankings.

What Webflow Does Automatically (That You Must Rebuild)

Webflow (automatic)
Generates /sitemap.xml automatically
Next.js (you handle this)
Implement src/app/sitemap.ts returning MetadataRoute.Sitemap
Webflow (automatic)
Sets canonical tags per page
Next.js (you handle this)
Use alternates.canonical in generateMetadata()
Webflow (automatic)
Handles trailing slash redirects
Next.js (you handle this)
Configure trailingSlash in next.config.js
Webflow (automatic)
Auto-generates OG tags from page settings
Next.js (you handle this)
Define openGraph in each page's metadata export
Webflow (automatic)
Provides 301 redirect manager in dashboard
Next.js (you handle this)
Configure redirects array in next.config.js
Webflow (automatic)
Robots.txt is configurable in dashboard
Next.js (you handle this)
Create src/app/robots.ts or public/robots.txt

Step 1: Extract All Webflow URLs

Before writing a line of Next.js code, get a complete list of every URL on your Webflow site. Pull your Webflow sitemap, crawl with Screaming Frog, and cross-reference with Google Search Console's "Pages" report to capture URLs that may not be in your sitemap but are indexed.

Export Google Search Console data for all URLs with impressions in the past 12 months — these are the URLs where you have ranking authority that you cannot afford to lose.

Step 2: Map Old Webflow URLs to New Next.js Routes

Create a spreadsheet with columns: Old Webflow URL | New Next.js URL | Redirect Type (301/Keep/Remove). This is your redirect map. Every row represents a decision about what happens to that URL.

Webflow URL Pattern Changes to Watch For

  • • CMS collection slugs: /blog/post-slug → Next.js dynamic route /blog/[slug]
  • • Category pages: /blog/category/seo needs matching Next.js route
  • • Webflow auto-generates slugs from collection names — Next.js slugs are what you define in your data source
  • • Webflow's folder structure maps to URL structure — plan your Next.js app directory to match

Step 3: Implement Redirects in Next.js

Next.js handles redirects in next.config.js. For large redirect maps, import from a JSON file:

// next.config.js
const redirects = require('./redirects.json');

module.exports = {
  async redirects() {
    return redirects.map(({ source, destination }) => ({
      source,
      destination,
      permanent: true, // 301
    }));
  },
};

Step 4: Replicate Meta Tags & Schema

Export your Webflow page settings (title, description, OG tags) and ensure every page's generateMetadata() function outputs identical or improved values. Use our Meta Tag Comparison tool to validate each key page in staging before launch.

For schema markup, Webflow has limited built-in support. Your Next.js implementation is an opportunity to add proper JSON-LD structured data — Article, Breadcrumb, Product, FAQ schemas — that Webflow couldn't generate automatically.

Step 5: Content Migration from Webflow CMS

Webflow CMS content can be exported via the CMS API or CSV export. Your options for the new content source:

  • MDX files — Simple for small sites, version-controlled, no external service needed
  • Sanity — Most similar editing experience to Webflow CMS, good for teams with non-technical editors
  • Contentful — More mature ecosystem, better for enterprise content operations
  • Notion + API — For teams already using Notion, though less reliable for production use

Step 6: Validate Before DNS Cutover

Run your Next.js staging build through a full QA checklist before changing DNS. Run all top-50 URLs through the Bulk URL Checker to confirm status codes. Validate redirects with our Redirect Checker. Compare meta tags for your 10 most important pages using the Meta Tag Comparison tool.

Frequently Asked Questions

Why do teams migrate from Webflow to Next.js?
The most common reasons are: hitting Webflow CMS item limits (10,000 items on Business plan), needing custom server-side logic, wanting lower hosting costs at scale, requiring complex dynamic routing, or wanting more control over performance optimisation. Webflow is excellent for smaller sites; Next.js becomes necessary as technical requirements grow.
Does Webflow have better or worse SEO than Next.js?
Both are excellent for SEO when properly configured. Webflow generates clean HTML with good defaults. Next.js gives you more control and typically better Core Web Vitals scores, especially with Server Components and the Image/Font optimisation components. The migration itself is the SEO risk — not the destination platform.
How do I export all URLs from Webflow before migrating?
Use the Webflow CMS API to export all CMS collection items and their slugs. For static pages, manually document them or use a crawler like Screaming Frog. Webflow's sitemap (available at /sitemap.xml) provides a complete URL list for crawling.
Can I run Webflow and Next.js simultaneously during migration?
Yes — this is the recommended approach. Run your Next.js build in parallel, validate it fully in staging, then perform a DNS cutover when ready. Avoid incremental migration with partial traffic splits as this can create duplicate content issues and complicate analytics.
What happens to my Webflow CMS content during migration?
Webflow CMS content needs to be migrated to a new data source — either a headless CMS (Contentful, Sanity), a database, or static MDX/JSON files. The choice depends on your content editing requirements. For teams who need a non-technical editor interface, connecting Next.js to Sanity or Contentful mirrors the Webflow CMS editing experience.

Validate Your Webflow to Next.js Migration

Free tools to compare old vs new, validate redirects, and check URL health.