A Webflow to custom code migration moves a marketing site from Webflow to a framework such as Next.js or Astro, and this guide gives the marketing lead who owns a B2B SaaS site eight steps to finish the move with Google rankings and AI answer citations intact. Each step ends in a table your team copies into the project plan, from the first URL inventory to the last day of post-launch monitoring.
Webflow is a good website builder for many teams, and a Webflow migration is worth the work only when the site needs something Webflow does not give you: full control of the HTML that crawlers read, pages generated from your own product data, or a component library shared with the product. Search is the part most migration guides skip, so every step below is written from the search side.
Inventory the Webflow Site Before a Webflow to Custom Code Migration
The first step of a Webflow to custom code migration is a full inventory of what the Webflow site holds today, because every URL, template and backlink missing from the list is a page that breaks on launch day. Export the list of pages from the Webflow sitemap, every CMS collection with its fields, and the redirects already set in the Webflow project settings.
Pull the pages that bring traffic from Google Search Console for the last 12 months, sorted by clicks, and the pages with external backlinks from Ahrefs or Semrush. The click list and the backlink list decide the order of the move in step five: the pages with the most clicks and links move last, once the custom code templates are proven on smaller pages.
The Webflow site inventory checklist below lists what to collect before a single page is rebuilt.
| Item | Why it matters | How to check |
|---|---|---|
| Every published URL, static pages and CMS items | A URL left off the list has no redirect and no rebuilt page on launch day | Export the Webflow sitemap.xml and crawl the live site with Screaming Frog |
| Every CMS collection with its fields and item count | Each collection turns into a content model in the new CMS or a folder of files | Export each collection as CSV from the Webflow CMS panel |
| Top pages by Google clicks over the last 12 months | The pages with the most clicks carry the most risk and move last | Google Search Console, Performance report, Pages tab |
| Pages with external backlinks | A backlink to a broken URL stops passing authority to the site | Ahrefs or Semrush, Best by links report |
| Redirects already set in Webflow | Old redirects must keep working, or chains form on the new site | Webflow project settings, Publishing tab, 301 redirects |
| Scripts, forms and integrations on each template | Analytics, consent, chat and form handlers stop working if nobody rebuilds them | Webflow custom code settings and a tag audit of the live pages |
| Note: Keep the inventory as one spreadsheet with one row per URL; steps three, five and six read from it. | ||
Choose the Custom Code Stack for a Webflow Migration
The custom code stack for a Webflow migration is the framework that renders the pages plus the place where the marketing team edits content, and both choices decide whether the new site is easier or harder to run than Webflow was. Next.js and Astro are the two frameworks B2B SaaS marketing sites move to most, and each one renders full HTML on the server, so crawlers and AI assistants read the page without running JavaScript.
Pick the content side with the marketing team in the room. A headless CMS such as Sanity gives editors a visual panel close to the Webflow Designer, while markdown files in the repository suit a team that already works in GitHub. Decide before the first template is built, because the content model shapes every component.
The criteria table below shows what a good custom code stack looks like for a Webflow migration and how to check each point before committing.
| Criterion | What good looks like | How to check |
|---|---|---|
| Server-rendered HTML | Headings, body text, links and schema are in the HTML the server sends, before any JavaScript runs | View the page source of a test page and find the H1 and the first paragraph in it |
| Editing for the marketing team | An editor changes copy, publishes a CMS item or adds a page from an approved template without a developer | Ask the marketing team to publish a test post in the chosen CMS during the trial |
| Same URL structure | The framework's routing reproduces every Webflow path, including CMS collection paths | Map the ten most visited URLs from the inventory to routes in the new project |
| Metadata and schema control | Each template sets its own title, meta description, canonical and JSON-LD | Check the framework's metadata API on one template before building the rest |
| Hosting and previews | Every change gets a preview link before it goes live, and rollbacks take one click | Open a test pull request and confirm the preview deployment on Vercel or Netlify |
| Note: Next.js suits sites with logged-in areas or pages built from product data; Astro suits content-heavy marketing sites that ship static HTML. | ||
Map URLs and Redirects for a Webflow Migration
A URL map for a Webflow migration pairs every old URL with its new URL before any page goes live, and the safest map keeps every URL exactly the same. Each URL that has to change gets one 301 redirect straight to its final address, never a chain of two or three hops.
Webflow puts CMS items under a collection path such as /blog/post-name, and the custom code site keeps that path, so most URLs stay identical. Write the map in the inventory spreadsheet, one row per URL, and have a second person check the rows with clicks or backlinks.
The data table below lists the inputs a complete URL and redirect map needs for a Webflow migration.
| Data | Where it comes from | Used for |
|---|---|---|
| Old URL on Webflow | The inventory from step one | The source column of the redirect map |
| New URL on the custom code site | The route plan from step two | The target column, identical to the old URL wherever possible |
| Clicks and backlinks per URL | Google Search Console and Ahrefs or Semrush | Ranking which rows get a second check and which pages move last |
| Canonical URL per page | The Webflow page settings and the live HTML | Keeping the same canonical on the rebuilt page |
| Redirect rule for each changed URL | The map itself | The redirects file in the framework or at the host, one hop per rule |
| Note: Test every redirect with a crawler before launch; a redirect that lands on a 404 is worse than no redirect. | ||
Rebuild Templates with SEO Parity in a Webflow Migration
SEO parity in a Webflow migration means every rebuilt template carries the same search signals as the Webflow template it replaces: the same title tag, meta description, single H1, heading order, schema, internal links, image alt text and canonical. Rebuild one template at a time and compare the old and new HTML side by side before the template is used for real pages.
Parity is the floor, not the ceiling. A custom code template gives you control Webflow does not, such as clean section IDs, real HTML tables and one content root with no duplicate navigation, so improve the markup once parity is confirmed, never before.
The SEO parity checklist below lists what to compare on each template in a Webflow migration.
| Item | Why it matters | How to check |
|---|---|---|
| Title tag and meta description | A changed title changes what Google shows and how the page ranks | Compare the head of the old and new page in a crawler export |
| Single H1 and the same heading order | Headings tell crawlers and AI answers what each section covers | Compare the heading outline of both versions in the crawler |
| Structured data on the template | Article, FAQPage, Organization and Breadcrumb schema keep rich results and entity signals | Run both URLs through Google's Rich Results Test |
| Internal links in body, navigation and footer | Lost internal links lower the authority each page receives | Compare inlinks per URL in the crawler before and after |
| Images with alt text and sizes | Missing alt text and oversized images hurt image search and page speed | Check alt attributes and image weights in the crawler and PageSpeed Insights |
| Body text in the server HTML | Text loaded by JavaScript or hidden in tabs is invisible to many AI crawlers | Disable JavaScript in the browser and read the page |
| Note: Sign off each template with the checklist before any real page uses the template. | ||
Move Pages off Webflow Page by Page Behind the Same URLs
A page-by-page Webflow migration moves the site in small releases instead of one launch day: a proxy at the domain sends each migrated path to the custom code site and every other path to Webflow, so visitors and crawlers see one site at one domain the whole time. Hosts such as Vercel and Netlify set this up with rewrites, and Webflow keeps serving the pages that have not moved yet.
Start with low-traffic templates, such as legal pages or an older blog category, prove the template and the monitoring, then move the high-traffic pages from the inventory last. Each release is small enough to roll back in minutes if Search Console shows a problem.
The before and after table below shows how a page-by-page Webflow migration changes the move compared with a single launch.
| Before (single launch) | After (page by page) | Why |
|---|---|---|
| The whole site switches stack on one night | One template or one section switches per release | A problem affects a few URLs, not the whole site |
| The marketing team stops publishing for weeks | The marketing team keeps publishing on whichever side holds the page | Campaigns and content calendars do not wait for the migration |
| A rollback means restoring the whole Webflow site | A rollback means pointing one path back to Webflow | Fixes take minutes and do not touch the rest of the site |
| Every ranking page changes at once | High-traffic pages move last, on proven templates | The riskiest pages move with the most evidence behind them |
| Note: Keep one sitemap that lists every live URL on both sides during the move. | ||
Launch Day Checks for a Webflow Migration
Launch day checks for a Webflow migration confirm, within hours of each release, that crawlers reach every moved page and that nothing from the inventory broke. Run the same checks after every page-by-page release, not only after the last one.
Crawl the released paths, test the redirects from the map, submit the updated sitemap in Search Console, and confirm robots.txt does not block Googlebot or the AI crawlers you want reading the site, such as GPTBot, ClaudeBot and PerplexityBot.
The launch day checklist below lists what to check after each release of a Webflow migration.
| Item | Why it matters | How to check |
|---|---|---|
| Status codes on every released URL | A 404 or a 500 on a ranking page loses the ranking within days | Crawl the released paths and filter anything that is not 200 or 301 |
| Redirects land in one hop | Chains slow crawling and leak authority | Crawl the old URLs from the map in list mode and check the redirect chains report |
| Sitemap updated and submitted | Google finds the moved pages faster from a fresh sitemap | Search Console, Sitemaps report, status Success |
| robots.txt allows Googlebot and AI crawlers | A copied staging robots.txt blocks the whole site | Open /robots.txt on the live domain and test key URLs in Search Console |
| Canonicals point to the live URL and no page carries noindex | A leftover staging canonical or noindex removes pages from Google | Filter the crawl by canonical and meta robots |
| Forms, analytics and consent work | A broken demo form costs pipeline even when rankings hold | Submit each form and check the event in Google Analytics |
| Note: Keep the Webflow project published until the last path has moved and 30 days of monitoring are clean. | ||
Monitor Rankings and AI Answers After a Webflow Migration
Monitoring after a Webflow migration compares rankings, clicks and AI answer mentions with the baseline from step one for 30 days after each release, so a drop is caught and fixed while the cause is still obvious. Check Search Console daily in the first week, then weekly, and keep a short log of every release next to the numbers.
AI answers matter as much as Google for B2B SaaS buyers. Ask ChatGPT, Perplexity and Google AI Overviews the same buyer questions before and after the move, and record whether the brand is named and which page is cited.
The monitoring table below lists the data to watch for 30 days after a Webflow migration and what each number tells you.
| Data | Where it comes from | Used for |
|---|---|---|
| Clicks and impressions per moved page | Google Search Console, Pages report filtered by released paths | Spotting a page that lost traffic after its release |
| Average position for the top queries | Google Search Console or a rank tracker | Telling a ranking drop apart from a seasonal dip in demand |
| Indexing status of moved URLs | Search Console, Pages indexing report and URL inspection | Catching pages Google has not recrawled or has dropped |
| Crawl errors and 404s | Search Console and server logs at the host | Finding URLs missing from the redirect map |
| Brand mentions and cited pages in AI answers | The same buyer questions asked in ChatGPT, Perplexity and Google AI Overviews, or an AI answer tracker | Confirming AI assistants still cite the moved pages |
| Note: Ranking movement in the first days after a release is normal; act when a page stays down for a week. | ||
Who Runs a Webflow to Custom Code Migration
A Webflow to custom code migration needs four roles with clear handoffs: an owner on the marketing side, a front-end developer, someone who owns SEO, and an editor who tests the new CMS. One person holds two roles on a small team, and the roles table below shows who owns what so nothing falls between them.
A team with front-end engineers and an SEO owner follows every step in this guide without outside help. A team without either role brings in a partner for the build and the search checks, and keeps the owner role in-house.
| Role | Owns | Hands off to |
|---|---|---|
| Marketing lead (owner) | Scope, release order and the final yes on each release | The front-end developer, with the approved release list |
| Front-end developer | Templates, routing, the proxy and the redirects file | The SEO owner, with a preview link for each template |
| SEO owner | The inventory, the URL map, parity sign-off and monitoring | The marketing lead, with a go or no-go per release |
| Content editor | Testing the new CMS and moving copy into it | The SEO owner, with the pages ready for parity checks |
| Note: Name one person as the owner of the go or no-go call before the first release. | ||
Webflow to Custom Code Migration with Max Performance
Max Performance is a B2B SaaS website and growth studio that runs Webflow to custom code migrations page by page behind the same URLs, with the search parity checks from this guide on every release, for SaaS marketing teams that have no in-house web developer. Max Performance runs the migration inside the Max Performance Category Leader plan, alongside the website migration work for teams leaving other stacks.
Max Performance rebuilt the AmplifAI website on a structure that went from Webflow to Webflow alongside Next.js and then to Astro. AmplifAI ranks 201 keywords in Google's top three positions out of 449 organic keywords in the United States (Ahrefs, October 2026); the page structure came through all three stacks, and AmplifAI's own search team owns the search strategy.
Max Performance is a small studio, so a large site with an in-house web engineering team is better served in-house, and Max Performance does not move sites onto Webflow or between page builders.




