Migrate from Webflow to Custom Code Without SEO Loss
Migrate from Webflow to custom code without losing SEO, content or rankings. When moving to Astro makes sense and how I run the whole process step by step.
The decision to migrate from Webflow rarely starts with a problem with Webflow. It starts the moment the site outgrows the tool: the CMS keeps filling up, the hosting bill grows larger than the value it returns, or a simple change needs a workaround instead of a setting. Webflow is a good tool, and for many projects it stays the best choice. The question is not whether Webflow is bad. It is whether Webflow is still enough for you.
The good news: a site can move from Webflow to custom code without losing its Google rankings, its content or its look. The bad news: no single export button does it for you. A migration has to be treated as transferring the contract the site holds with its users and with search engines, not as copying a design into a new tool.
Below I explain when it makes sense to migrate from Webflow, what the export quietly leaves behind, and how I run the process so nothing disappears once you switch.
When migrating from Webflow makes sense (and when to stay)
Stay on Webflow if the site is small, changes rarely, and whoever edits it values updating pages without touching code. That is real value, and it is not worth trading for your own stack just because it sounds more serious.
A migration is worth considering when one of these signals keeps coming back:
- The CMS ceiling. A catalog, a blog or a case study library grows, and you start hitting limits on collections or references.
- Cost. A site with a CMS typically runs into tens of dollars a month on Webflow, while a site on custom code hosts for far less, often for free (Webflow versus custom code cost breakdown).
- Performance. Every animation and interaction added in Webflow lands in one shared
webflow.jsfile that loads on every page, even where it is never used. More effects mean a heavier site. - Logic Webflow cannot carry. User accounts, dashboards, custom integrations or an app alongside the site. This is where you reach the wall fastest.
If you recognize two or more of these, migrating from Webflow stops being a matter of taste and becomes a matter of what the status quo costs to keep.
What the Webflow export leaves behind
The biggest trap is assuming that because Webflow has a code export button, the migration is nearly free. It is not, for three reasons.
First, code export is tied to a paid Workspace plan, not to a site hosting plan (a Site plan). This is a common trap: you can pay for hosting a single site in Webflow and still not have the export button until a paid Workspace is added (Webflow code export in the Help Center). Second, the export gives you static HTML and CSS, but none of the CMS content: blog posts, case studies and products stay inside Webflow, along with ecommerce, user accounts and localization. Third, interactions, forms and anything the Webflow hosting handled simply stop working once exported.
So I do not treat the export as a migration. I treat it as one piece of evidence. The real source of truth is the live production site: what the user sees, which URLs exist, and what data search engines receive.
How I migrate from Webflow step by step
I break the migration into stages that can each be checked on their own before moving on. The order matters, because most of the value is lost not while rebuilding the design, but around URLs and redirects.
- URL inventory. I collect every URL from the sitemap, from analytics and from Search Console, not only the ones visible in the menu. Any address that has traffic or external links is an obligation you cannot afford to drop.
- Content model. I turn the Webflow CMS collections into a clear content structure that stays editable without code. Slugs stay the same, because they are what holds your Google rankings.
- Rebuilding look and behavior. I rebuild the design and responsiveness from scratch on clean code instead of copying the DOM Webflow generated. The same result for the user, with lighter code that is yours.
- Moving assets. I pull images, fonts and downloads off Webflow onto your own hosting, because links to the Webflow CDN can stop working once you leave.
- 301 redirects. For every old URL that changes, I set a permanent redirect to the new one. This is the single step that most often decides whether migrating from Webflow costs you rankings or not.
- SEO parity. I check that titles, descriptions, canonical URLs, hreflang and structured data match what was there before, unless we are deliberately improving something.
- Testing and cutover. Before we touch DNS, everything works on a preview environment: forms, redirects, headers. The old site stays on hand as a fallback until the new one proves stable.
How to keep SEO when migrating from Webflow
Losing rankings after a migration almost always comes down to one of a few things, and each of them can be prevented. URLs that change get a 301 redirect pointing straight to the target, with no chains. The sitemap after the switch contains only final, canonical URLs. Internal links point directly to the new URLs, not through redirects. Titles and descriptions that performed well stay in place until there is a reason to change them.
After the switch, the first weeks are mostly watching: whether Search Console reports a sudden rise in 404 errors, whether the most important pages enter the index, and whether search traffic holds. A migration does not end on the day you change DNS. It ends when the data confirms nothing has gone missing.
Why I usually migrate to Astro
When a site does not need a heavy application in the browser, I build it on Astro, because by default it ships no unnecessary JavaScript, so the page loads instantly. That is the opposite of the shared webflow.js file: code loads only where there is actually an interaction. Hosting a site like this is cheap or free, and the whole thing is yours, with no dependence on a single provider. You can see the kind of sites this produces in my recent work.
This does not push Webflow out of the picture. I still build on Webflow when a client wants to edit the site themselves without touching code and does not plan to stretch it beyond what the tool can do. I reach for Astro when performance, content scale or full ownership matter. The choice of technology follows where the site is heading, not fashion.
If you have a site on Webflow and are weighing a move to custom code, I run these migrations as a dedicated service: from the URL inventory to a switch that keeps your rankings.
FAQ
Does migrating from Webflow mean losing Google rankings?
No, if it is done properly. The conditions are keeping the URLs or setting permanent 301 redirects from old to new, the same set of content, and matching SEO data. Rankings drop when URLs vanish without a redirect, not from the change of technology itself.
Can you export a Webflow site for free?
Code export requires a paid Workspace plan, and even then it only produces static HTML and CSS, without CMS content and without working forms. That is why the export is a starting point, not a finished migration.
How long does migrating from Webflow take?
It depends mainly on the number of pages, the size of the CMS and how many custom interactions there are. A simple brochure site is a matter of days, a large site with a big blog and many case studies is weeks. The design is not what takes the most time, moving the content and the URLs carefully is.
Webflow to Astro or to WordPress?
I reach for Astro when the priority is performance and full ownership of the code with no monthly platform fee. WordPress makes sense when the key need is heavy content editing by non-technical people and a broad plugin ecosystem. The right pick depends on who will maintain the site after the migration, and how.
