How to keep SEO when you migrate a no-code site
Keep the same URLs where you can, add permanent 301 or 308 redirects for every URL that changes, give each page a self-referencing canonical tag, publish a fresh sitemap and keep hreflang pairs reciprocal. Google advises keeping redirects for at least a year, so leave them in place and watch Search Console for several weeks.
Last reviewed
Key facts
- Google treats 301 and 308 as permanent redirects, and says permanent redirects do not cause a loss in PageRank.
- Google advises keeping redirects for as long as possible, generally at least 1 year.
- A redirect chain should ideally have no more than 3 hops and fewer than 5, and pointing straight at the final URL is better.
- A sitemap file is limited to 50 MB uncompressed or 50,000 URLs, and a sitemap is a hint, not a command.
The migration checklist
Most ranking loss in a platform move comes from a short list of mistakes: URLs that change without a redirect, pages that disappear, canonical tags that point to the wrong place and a robots or noindex rule left over from testing. This table covers each item with the guidance Google publishes.
| Item | What to do | Google guidance |
|---|---|---|
| URLs | Keep every URL the same if the new host allows it | Fewer changes mean fewer redirects to maintain |
| Redirects | Send each changed URL to its new address with a 301 or 308 | Use server side permanent redirects where possible, and keep them for at least a year |
| Redirect chains | Point old URLs straight at the final URL | Ideally no more than 3 hops, and fewer than 5 |
| Canonical tags | Add a self-referencing rel=canonical with an absolute URL on each page | Use absolute paths, and include the tag on the canonical page itself |
| Sitemap | Publish a new sitemap with the final URLs and submit it in Search Console | A sitemap is a hint, limited to 50 MB uncompressed or 50,000 URLs |
| hreflang | Update every pair to the new URLs, with each page listing itself and the others | If two pages do not point at each other, the tags are ignored |
| robots and noindex | Remove any block or noindex left from staging | robots.txt is not a way to keep a page out of Google |
| Deleted pages | Return 404 or 410 for content you removed on purpose | Do not redirect everything to the home page |
Step by step
- Before you touch anything, crawl the live site and save the list of URLs. The Website URL Extractor and the Sitemap URL Extractor help.
- Export the site and deploy it to a preview address. Compare its URLs with your saved list and mark every difference.
- Build the redirect map for those differences with the Redirect Map Builder. Send each old URL to its final destination in one hop.
- Add the redirects in your host’s format. Vercel, Netlify and Cloudflare Pages each use a different file.
- Check canonical tags, hreflang pairs and the sitemap on the preview, then switch DNS.
- Submit the new sitemap in Search Console and watch the coverage report for weeks. Google says a small or medium site can take a few weeks for most pages to move.
Test redirects and tags with real commands
Check the first response for a changed URL. You want a 301 or 308 with a Location header that points at the final address, and then a 200 on that address.
curl -sI https://example.com/old-page | grep -iE "^(HTTP|location)"
curl -sI https://example.com/new-page | grep -i "^HTTP"
curl -s https://example.com/new-page | grep -i 'rel="canonical"'A canonical tag and a reciprocal hreflang pair look like this in the head of an English page that has a French twin.
<link rel="canonical" href="https://example.com/en/pricing">
<link rel="alternate" hreflang="en" href="https://example.com/en/pricing">
<link rel="alternate" hreflang="fr" href="https://example.com/fr/tarifs">
<link rel="alternate" hreflang="x-default" href="https://example.com/en/pricing">The French page must carry the same set of alternate links, including one that points back at the English page. The Hreflang Validator and the Canonical Chain Auditor check both.
Sitemap and robots.txt for the new host
Most no-code platforms publish a sitemap automatically, and a static copy needs one too. Generate it from your final URL list with the XML Sitemap Generator, put it at the site root and reference it from robots.txt. Test the rules with the robots.txt Tester.
User-agent: *
Allow: /
Sitemap: https://example.com/sitemap.xmlWhat can go wrong
- Redirecting every old URL to the home page. Visitors and crawlers lose the page they asked for, so map each URL to its closest equivalent and let removed pages return 404 or 410, as Google suggests.
- A staging noindex or robots block copied to the live site. Check both after the DNS change.
- Canonical tags that still name the old platform domain. Search for it in the exported files.
- Dropping redirects after a few weeks. Keep them for at least a year.
- Changing the domain and the URLs in one step. Domain changes use Search Console’s change of address, and a second change doubles the risk.
Frequently asked questions
Will I lose rankings when I move from Webflow, Wix or Squarespace?
Not necessarily. Google says permanent redirects do not cause a loss in PageRank, and a move with the same URLs and correct redirects is usually uneventful. Expect some fluctuation while Google processes the change.
Should I use 301 or 308?
Either. Google recommends permanent redirects such as 301 and 308. Pick the one your host makes easy, and avoid 302 or 307 for moves that are meant to last.
How long should I keep the redirects?
Google says to keep them as long as possible, generally at least a year. Visitors benefit from them indefinitely, so there is little reason to remove them once they are in place.
Do I need special markup to appear in AI answers?
No. Google says there are no additional requirements for AI Overviews or AI Mode, and no special schema.org markup is needed. The page must be indexed and eligible to show with a snippet, and any structured data must match the visible text.
Does a static export keep my meta tags?
It saves the HTML the platform published, including title, description, canonical and Open Graph tags. Check canonicals for the old domain after you export.
Official documentation
- Google Search Central: site moves with URL changes
- Google Search Central: redirects and Google Search
- Google Search Central: consolidate duplicate URLs
- Google Search Central: localized versions of your pages
- Google Search Central: build and submit a sitemap
- Google Search Central: introduction to robots.txt
- Google Search Central: AI features and your website
Free tools for this job
- Redirect Map BuilderBuild an old-to-final redirect mapping from URL lists.
- Canonical Chain AuditorAudit canonical tags against redirect chains and final resolved URLs.
- XML Sitemap GeneratorGenerate a standards-compliant XML sitemap from your URL list in one click.
- Hreflang ValidatorValidate hreflang annotations, reciprocal links, and locale consistency.
- robots.txt TesterTest if a path is allowed for a specific bot using live or pasted robots.txt rules.
Get your site files
Paste your public site URL into the export form and download a ZIP of static files. 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.