Move a Wix, Squarespace, Webflow or Hostinger site to your own code
Wix, Squarespace and GoDaddy don't document a code export you can run elsewhere, apart from a beta for Wix Studio Two sites, so moving means rebuilding the site as code, by hand or with a coding agent. Webflow and Hostinger AI Builder in agentic mode do export code, with gaps covered below. What decides whether visitors and search engines follow you is everything around the rebuild: saving every old address before you switch, sending each one to its new page with a permanent redirect, checking them all on the new host, and cancelling the old plan last.
Written by the Eurobase team on 2 December 2026. We deployed an Astro 7.4.13 site with the redirect file below to Eurobase and ran the check script against it twice; both outputs are on this page. We also deployed a folder shaped like a Webflow export and a Vite and React app shaped like a Hostinger agentic mode export. Platform facts come from each builder's help centre, linked under Sources.
What each builder lets you export
| Builder | Code | Content and products | Images | Old redirects |
|---|---|---|---|---|
| Wix | Only Wix Studio Two, as React, in beta | CMS as CSV; products as CSV, 5,000 rows per file; no blog posts | Several files per folder, not all at once; free Wix media can't be downloaded | CSV export |
| Squarespace | No | Layout pages and one blog as WordPress XML; products as CSV, up to 10,000 | Links stop working once the site is cancelled | URL mappings, a text field you can copy |
| Webflow | A ZIP of HTML, CSS and JavaScript; paid Workspace plans only | CMS, Ecommerce and User Accounts as CSV; not in the code export | Assets panel images in the export; CMS images aren't | CSV export |
| Hostinger AI Builder, agentic mode | A ZIP of a React and Vite project | Backend data isn't in the export | In the project | Only domain-wide redirects |
| Hostinger AI Builder, manual mode | Not documented | Text by hand; products as CSV | One by one, or from the Media Library | Not documented |
| GoDaddy Websites + Marketing | Not documented | Products as CSV; nothing else documented | Not documented | Not documented |
Wix, Squarespace, Webflow and Hostinger publish /sitemap.xml, the list of addresses step 1 saves; GoDaddy's help doesn't say. On Webflow it exists if Auto-generate sitemap is on in the site's SEO settings, or if someone pasted a custom one there. Squarespace leaves out hidden and password-protected pages.
If Webflow or Hostinger gave you code
Webflow exports each page as a file such as about.html, while your live site answers at /about. Published as it is on Eurobase, a folder of HTML serves the file name, not the short address, and ignores a _redirects file. Our test of such a folder:
404 /about
200 /about.html
404 /about-usMoving each page to its own folder, about.html to about/index.html, made /about answer 200 in our second run; then make links and asset paths start with /. For redirects, the site still needs a framework build, as step 3 explains. CMS lists come out empty, only the primary language is exported, and forms, site search and password protection stop working, so those parts need rebuilding anyway.
Hostinger AI Builder in agentic mode, which a screenshot in Hostinger's export article calls the Horizons editor, exports a React and Vite project; backend data managed by Hostinger isn't included. We haven't deployed a real export. Hostinger says agentic mode sites created on or after 21 September 2026 render pages on the server, and that the stack typically uses Node.js for the backend, so a newer export may need to run as a Node.js server rather than as a static app.
What we did test is a client-side Vite app, the static kind Hostinger's specifications describe: Vite 8.3.8 and React Router 7.18.7, built by Eurobase with public/_redirects. A page opened directly loaded and the redirects worked, but an address that never existed also answered 200 with the app:
200 /about
301 /about-us -> /about
200 /a-page-that-never-existedIn an app like this, every unknown address answers 200, so the check in step 5 can say ok for a page that's gone. Open the old addresses it lists in a browser and look for real content.
Step 1: Save every old address while the site is still up
Your old addresses are what search engines and other sites link to, and once the domain moves the old sitemap is gone. Save this script as old-urls.mjs. Its save command reads the sitemap, follows a sitemap index such as the one Wix publishes, and prints one address per line:
// old-urls.mjs, tested with Node.js 26
// node old-urls.mjs save https://www.example.com/sitemap.xml > old-urls.txt
// node old-urls.mjs check old-urls.txt https://your-project.eurobase.dev
import { readFileSync } from 'node:fs';
const [command, source, target] = process.argv.slice(2);
const locs = (xml) => [...xml.matchAll(/<loc>\s*([^<\s]+)\s*<\/loc>/g)].map((m) => m[1].replaceAll('&', '&'));
if (command === 'save') {
const queue = [source];
for (const sitemap of queue) {
const xml = await (await fetch(sitemap)).text();
for (const url of locs(xml)) (xml.includes('<sitemapindex') ? queue.push(url) : console.log(url));
}
} else if (command === 'check') {
for (const line of readFileSync(source, 'utf8').split('\n').filter(Boolean)) {
const { pathname, search } = new URL(line);
let url = new URL(pathname + search, target);
const steps = [];
let res;
for (let hop = 0; hop < 5; hop++) {
res = await fetch(url, { redirect: 'manual' });
steps.push(res.status);
const location = res.headers.get('location');
if (!location || res.status < 300 || res.status > 399) break;
url = new URL(location, url);
}
const ok = res.status === 200 && steps.slice(0, -1).every((status) => status === 301 || status === 308);
console.log(ok ? 'ok ' : 'FIX', steps.join('>').padEnd(12), pathname, '->', url.pathname);
}
}node old-urls.mjs save https://www.example.com/sitemap.xml > old-urls.txtThe sitemap leaves pages out. Add by hand any address you know people use: Squarespace omits hidden, disabled and password-protected pages, and pages inside index pages. On Wix, also export the URL Redirect Manager list, and on Webflow the 301 redirects list under Site settings, then Publishing: those old addresses still reach you through the builder today. If other sites link to an address with a trailing slash, such as /about-us/, add that form as its own line.
Step 2: Download images and files before you cancel
Squarespace says image links stop working after you cancel, so an imported blog that still points at Squarespace's image addresses breaks later, not on launch day. Wix has no bulk download: select several files in one Media Manager folder at a time, and replace free Wix and Shutterstock media, which can't be downloaded. On Hostinger AI Builder in manual mode, save images one by one or download them from the Media Library. Commit the images to your repository or put them in a Storage bucket.
Step 3: Rebuild with a framework, not plain HTML
Redirects need a build. Eurobase reads a _redirects file only from the build output of a framework that runs on Workers; a folder of HTML published without a build ignores it. A content site fits Astro, and a coding agent can do the rebuild from the live site and the exports: see deploy with Claude Code, Codex or Cursor.
Keep the old addresses where you can: a page that keeps its path needs no redirect. Wix blog posts live at /post/<slug> and products at /product-page/<slug>. Squarespace posts start with the blog page's slug, and 7.1 products are the store page's slug, then /p/<slug>.
Step 4: Write 301 redirects in a _redirects file
Put _redirects where your framework copies files to the output unchanged, such as public/ in Astro. This is the file we tested:
# Exact rules first, then patterns. Every rule says 301 and ends at a page that answers 200.
/about-us /about/ 301
/about-us/ /about/ 301
/contact-us /contact/ 301
/services /about/ 301
# Wix: posts and products
/post/:slug /blog/:slug/ 301
/post/:slug/ /blog/:slug/ 301
/product-page/:slug /shop/:slug/ 301
# Squarespace 7.1 products, store page "shop"
/shop/p/:slug /shop/:slug/ 301- Write 301 on every line. A rule without a status is a temporary 302, which tells search engines the old address is coming back. Our first try had one such line.
- Point at the address that answers 200. Astro builds
/aboutas/about/, and Eurobase answers/aboutwith a temporary 307 to/about/. A rule to/aboutadds that hop. Write the trailing slash, or change your framework's setting. - A trailing slash is a different address.
/about-us/doesn't match a rule for/about-us: it answers 404, or 200 with the app in a single-page app like the one above. Give each form that other sites link to its own line, as the file does for/about-us/and/post/:slug/. - Exact rules first, patterns after. A file holds up to 2,000 exact rules and 100 rules with
:placeholderor*. From the first pattern rule on, every following line counts toward the 100. One pattern line such as/post/:slugcovers every post whose slug stayed the same. - A rule Eurobase can't read stops the deployment, so a typo never reaches visitors.
Step 5: Deploy and check every old address
- Create an account, connect GitHub and install the Eurobase GitHub App on the repository.
- In Projects, select New project, choose the repository and select Save and Deploy.
- Run the check against the project's address, while your domain still points at the old site:
node old-urls.mjs check old-urls.txt https://your-project.eurobase.devEach line shows every status on the way to the final page. It says ok only when the page answers 200 and every redirect before it is a permanent 301 or 308. Our first run had a rule without a status, targets without the trailing slash, no rule for a page we dropped and none for the slash forms:
ok 200 / -> /
FIX 301>307>200 /about-us -> /about/
FIX 302>307>200 /contact-us -> /contact/
FIX 404 /services -> /services
FIX 301>307>200 /post/first-post -> /blog/first-post/
FIX 301>307>200 /product-page/blue-mug -> /shop/blue-mug/
FIX 404 /about-us/ -> /about-us/
FIX 404 /post/first-post/ -> /post/first-post/After the fixes in the file above:
ok 200 / -> /
ok 301>200 /about-us -> /about/
ok 301>200 /contact-us -> /contact/
ok 301>200 /services -> /about/
ok 301>200 /post/first-post -> /blog/first-post/
ok 301>200 /product-page/blue-mug -> /shop/blue-mug/
ok 301>200 /about-us/ -> /about/
ok 301>200 /post/first-post/ -> /blog/first-post/Step 6: Point the domain, and leave email alone
You don't need to transfer the domain to switch hosts: keep it where it is and change its records. A transfer can wait, and doesn't belong on launch day: Wix and Hostinger say one usually takes up to 7 days, GoDaddy 5 to 7, Squarespace up to 15, and you can't edit DNS on Squarespace while one is pending.
- In Eurobase, open Domains, select Connect domain, enter the bare domain (
example.com) and choose the project. Only the workspace owner can connect domains. Eurobase takeswww.example.comalong with it and redirects it to the bare domain once its records are in place. - Add the
_acme-challengerecords first, in your registrar's DNS settings, such as Manage DNS Records on Wix. Eurobase gets the certificate before any visitor moves, so the old site keeps serving meanwhile. - Then replace the traffic records of
example.comandwwwwith the ones Eurobase shows, deleting the old A records as Wix asks. GoDaddy refuses awwwCNAME while another record already uses that name, so edit the existing one. Remove old AAAA records too, or Eurobase shows the record as Points elsewhere. - Don't touch the MX and TXT records. They carry your email, such as Google Workspace, which keeps working while only the website records change.
We haven't yet tested a domain held at any of these builders. If a DNS editor refuses a record Eurobase asks for, write to support@eurobase.dev.
Step 7: Check your domain, then cancel the old plan
node old-urls.mjs check old-urls.txt https://www.example.comThrough www, each line starts with an extra 308: Eurobase sends www.example.com to example.com before your rules run. That hop is permanent, and the line still says ok. We've confirmed this in our code, not yet on a live domain.
Cancel the website plan only when this run is clean on your own domain. On Squarespace, cancelling the website keeps the domain and Google Workspace billed and working; the site shows "Website expired" on any address still pointing there. On Hostinger, if the plan expires and isn't renewed, all its data is deleted, so export the code first. On Wix and Webflow, carry the redirects you exported in step 1 into your file first: the builder serves them, so they stop once the domain points to Eurobase.
What the rebuild has to replace
- Store checkout, bookings, member logins and form inboxes are services of the builder, not pages: each needs its own replacement, such as a payment provider's hosted checkout or a Eurobase Function for a form.
- To keep a Wix store, bookings or members, Wix documents another route: your own coded site on your domain, with Wix still running those services, a Premium plan for the custom domain and payments, and its pages on a subdomain such as
checkout.example.com. We haven't tested that route on Eurobase. - Comments, newsletter sign-ups and analytics tied to the builder's account.
- Eurobase has no visual editor: content changes go through your repository, or a headless CMS your site reads.
- No preview deployments: one branch per project.
- WordPress sites, common on Hostinger, GoDaddy and SiteGround, aren't covered here: WordPress needs MySQL, and Eurobase doesn't offer MySQL.
Sources
- Wix: sitemap, URL structure, redirect export, media download, product export, blog export request, pointing a Wix domain, transfer, Studio Two code export, CMS export, headless migration.
- Squarespace: site export, product export, URL mappings, sitemap, URL slugs, DNS records, transfer, cancelling.
- Webflow: code export, 301 redirects export, sitemap.
- Hostinger: agentic mode code export, agentic mode specifications, moving manual mode content, product export, sitemap and server rendering, domain redirects, transfer.
- GoDaddy: product export, CNAME records, transfer.