How to host a Squarespace export on Netlify
To host a Squarespace export on Netlify, unzip the WebExport download and drag the folder onto the Netlify deploy area. Squarespace offers no code export, so the copy is a saved render of the public site. Use a _redirects file for dated blog URLs and replace Squarespace form blocks with Netlify Forms.
Last reviewed
Key facts
- Squarespace’s own export makes an XML file for WordPress, not a folder of site files.
- A single _redirects rule can map dated blog paths to short ones.
- Netlify Forms replaces form blocks without a backend of your own.
- Keep the Squarespace subscription until the new site answers on your domain.
What a Squarespace export brings to Netlify
WebExport saves the Squarespace page hierarchy, template styles, gallery scripts and images from the published site. Netlify serves the result as static files, so a portfolio or brochure site moves with its design intact. You never hand over a Squarespace login, and the live site stays up while you test.
Squarespace sites often have a blog or journal. Its posts may carry dates in their paths, which affects redirects more than anything else in this move. Check three real post URLs in your sitemap to see which pattern your site uses before you write a rule.
Deploy by drag and drop or with the Netlify CLI
- Unzip the download so the folder contains index.html at its top level.
- Drag the folder onto the deploy area in the Netlify dashboard, or use the CLI for repeat deploys.
- Open the generated netlify.app URL and check the home page, one inner page and one image.
- Add your custom domain under domain settings and follow the DNS instructions.
npx netlify-cli deploy --dir=exported-site # draft deploy
npx netlify-cli deploy --dir=exported-site --prod # production deployRedirects, 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 _redirects file moves dated blog posts to short paths using Netlify placeholders and sends the old store page to a new address.
/blog/:year/:month/:day/:slug /blog/:slug 301
/journal/* /blog/:splat 301
/store https://shop.example.com 302Netlify placeholders match one path segment of any text, so the dated rule only fires for addresses with exactly four segments after /blog. That keeps category pages like /blog/category/news out of it. Change the journal line or remove it if your blog was always called blog.
Squarespace output that needs fixing on Netlify
| In the Squarespace output | What to do on any static host |
|---|---|
| Images from squarespace-cdn.com and static1.squarespace.com | Open a page offline and watch the network tab. Any request to those hosts means a path was missed. |
| Features that fetch data from the live site | Load-more buttons, search and some blog listings ask the Squarespace server for data. Test each one on the static copy. |
| Form, newsletter and commerce blocks | These post to Squarespace. Replace the form targets and send shoppers to a hosted checkout. |
| Blog category and tag views | They are generated on request. Only URLs that appear in the sitemap or in page links are saved. |
Squarespace form blocks are drawn by its own scripts and post to Squarespace. Replace each with a plain HTML form that has data-netlify="true", method POST and a unique name. Then test the features that fetch data from the live site, such as load-more buttons and search, because they keep calling Squarespace. Newsletter blocks can be replaced with the embed code from your email provider.
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.
Netlify Forms stores each submission in the dashboard and can email you. Enable form detection under the site’s Forms settings, deploy, and send a test message to see it appear.
What can go wrong
- The placeholder rule also matches any four-segment path under /blog, so a nested page with that shape would be redirected by mistake.
- Any script that still requests data from the live Squarespace site keeps the copy tied to your subscription. Check the network tab and remove what you do not need.
- If DNS changes before the Netlify deploy is verified, visitors reach an empty site.
Frequently asked questions
Can Netlify host a Squarespace site?
Yes, as a static copy. WebExport saves the public pages, styles, gallery scripts and images, and Netlify serves the folder. Dynamic features like commerce need a replacement.
How do I redirect old Squarespace blog URLs on Netlify?
Use a _redirects rule with :year, :month, :day and :slug placeholders that sends the old path to /blog/:slug with a 301. Test it on a draft deploy.
What happens to my Squarespace contact form?
It stops working on Netlify, because the block posts to Squarespace. Replace it with an HTML form that uses data-netlify="true" and a unique name.
Does Squarespace’s XML export help here?
Not for this route. Its help describes the XML file as content for importing into WordPress. The static copy comes from the published pages instead.
Official documentation
Free tools for this job
- Squarespace Exit PlannerStep-by-step guide and checklist generator for leaving Squarespace.
- No-Code Lock-in ScoreAnalyze any platform and get a portability score with data export options.
- Static Hosting PickerAnswer 5 questions and get the best hosting recommendation for your exported site.
- Static Site Hosting Cost CalculatorCompare hosting costs: Webflow vs Vercel vs Netlify vs Cloudflare Pages at scale.
Get the Squarespace files first
Paste your public Squarespace 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.