How to host a Wix export on Netlify

Short answer

To host a Wix export on Netlify, unzip the WebExport download and drag the folder onto the Netlify deploy area. Wix says standard sites cannot be hosted elsewhere, so the copy is a saved render of your public pages. Add a _headers file for caching and security, and replace Wix forms, Stores and Members.

Last reviewed

Key facts

  • Wix’s help says standard Wix sites cannot be exported to another host.
  • A _headers file sets caching and security headers for the whole copy.
  • Netlify Forms can replace Wix contact forms with plain HTML forms.
  • Wix Studio has a separate code export in Wix’s developer docs.

What a Wix export brings to Netlify

WebExport saves the pages a visitor sees on a Wix site, along with the scripts, fonts and images that draw them, and rewrites the paths to local files. Netlify serves that folder as static output. The pages look the same, but nothing behind them is Wix any more, so features that depend on the Wix backend need replacements.

Because Wix pages are drawn by JavaScript, the first test is whether the page renders at all from your own files. Open the Netlify draft URL, reload with the cache disabled and read the console for 404 errors on scripts. A clean console is the sign that the saved scripts are complete.

Deploy by drag and drop or with the Netlify CLI

  1. Unzip the download so the folder contains index.html at its top level.
  2. Drag the folder onto the deploy area in the Netlify dashboard, or use the CLI for repeat deploys.
  3. Open the generated netlify.app URL and check the home page, one inner page and one image.
  4. Add your custom domain under domain settings and follow the DNS instructions.
terminal
npx netlify-cli deploy --dir=exported-site          # draft deploy
npx netlify-cli deploy --dir=exported-site --prod   # production deploy

Redirects, headers and 404s on Netlify

Netlify reads two plain text files from the publish directory, _redirects and _headers, and an optional netlify.toml. In _redirects each rule is a line with the old path, the new path and a status code. Rules in _redirects run before rules in netlify.toml, and the first match wins. In _headers a path line is followed by indented Name: value lines. Headers apply only to files Netlify serves from its own storage. A file named 404.html in the publish directory is used as the not-found page.

This _headers file adds two security headers to every page and a one week cache to the font folder. Adjust the folder name to match your export.

exported-site/_headers
/*
  X-Content-Type-Options: nosniff
  Referrer-Policy: strict-origin-when-cross-origin

/fonts/*
  Cache-Control: public, max-age=604800

Headers set in this file apply to files Netlify serves from its own storage. A header name is not case sensitive, but a path is. If your export has no fonts folder, delete the second block rather than guessing.

Wix output that needs fixing on Netlify

Wix export: what to check
In the Wix outputWhat to do on any static host
Scripts from parastorage.com and wixstatic.comWix pages are rendered by JavaScript. Confirm the local script files load and no request still goes to Wix.
Wix backend featuresWix says standard sites cannot be hosted elsewhere, so Bookings, Stores, Members and forms stay on Wix. Replace each one.
Image URLs with resize steps in the pathPaths such as /v1/fill/w_ and h_ are sized for the live layout. Check image sharpness at wide screens.
Mobile and desktop layoutsWix builds layouts for several widths. Test at phone and desktop width before you switch the domain.

List the Wix features your site used and replace them one by one. Contact forms become plain HTML forms with data-netlify="true". Bookings, Stores and Members have no static equivalent, so link to a service that does the same job. Then test at phone and desktop widths, because Wix builds separate layouts and a missing style shows up at one size first.

Forms and dynamic features

Netlify Forms collects submissions without a server of your own. Add data-netlify="true" and a unique name to a form in static HTML and enable form detection in the dashboard, then deploy again so the build parser finds it.

Write the new form as ordinary HTML with method POST and a unique name, deploy, and submit a test. The submission appears in the Netlify Forms tab, and you can set an email notification there.

What can go wrong

  • Pages that still request files from wixstatic.com or parastorage.com depend on Wix and will break if the Wix plan ends.
  • A header rule with a wrong path pattern silently does nothing. Check the response headers with browser dev tools after the deploy.
  • Skipping the mobile test hides layout problems until visitors find them.

Frequently asked questions

Does Wix allow hosting on Netlify?

Wix’s help says standard sites cannot be hosted outside Wix. A WebExport copy saves the rendered public pages as files, which Netlify can serve.

Can I keep my Wix form on Netlify?

No, it posts to Wix. Build a plain HTML form with data-netlify="true", post it to Netlify and read submissions in the dashboard.

What about the Wix blog?

Public blog pages are saved like any page, and their /post/ paths stay the same. New posts need a fresh export.

Should I use Wix Studio’s code export instead?

Compare them. Wix’s developer docs describe a Studio export that was marked early-stage, while the saved copy works from the public pages of any Wix site.

Official documentation

Free tools for this job

Get the Wix files first

Paste your public Wix URL into the export form and download a ZIP you can deploy to Netlify. The Free plan covers 1 site, 5 exports a month, 15 pages and 20 MB per export. Professional is a $9.99 one-time purchase with unlimited pages.