# WordPress to Astro Migration: A Guide for Businesses

Source: https://www.mn-stud.io/articles/wordpress-to-astro-migration

> Moving from WordPress to Astro trades plugins, updates and slow pages for a fast static site your team edits in a custom Sanity Studio, usually hosted for free on Cloudflare. Posts and pages move with scripts, every old address is redirected, and plugins are replaced by code or small services. Stay on WordPress if you run a large WooCommerce store or depend on many plugins, and consider Webflow if your team wants to design pages visually.

WordPress runs a large share of the web, and many businesses on it are tired of the same things: plugin updates, security patches, slow pages and a hosting bill that keeps growing. Astro is one of the most popular ways out. This guide is for business owners and marketing teams, not developers. It covers what changes, what moves, what it costs and when you should stay where you are.

## Why teams leave WordPress

- **Maintenance.** Core, theme and plugin updates every month, and the worry that one breaks the site.
- **Security.** A popular target, so every plugin is another door to keep locked.
- **Speed.** Page builders and plugins add code to every page, which slows the site and hurts [Core Web Vitals](https://www.mn-stud.io/glossary/core-web-vitals).
- **Cost.** Managed hosting, premium plugins and developer time add up.

## What changes with Astro

[Astro](https://www.mn-stud.io/glossary/astro) builds your site into plain, fast pages ahead of time. There is no database or admin panel on the live site, so there is almost nothing to update or attack. The pages are served from [Cloudflare](https://www.mn-stud.io/glossary/cloudflare), close to every visitor, and for most marketing sites hosting is free.

Your content moves to [Sanity](https://www.mn-stud.io/glossary/sanity), and your team edits it in a [custom Sanity Studio](https://www.mn-stud.io/glossary/custom-sanity-studio): fields named the way your team talks, checks that catch mistakes, and a Preview tab where you click text on the real page and change it. Publishing rebuilds the site, live in about a minute.

## What moves, and how

- **Posts and pages.** Exported from WordPress, through its export file or its built-in API, and imported into Sanity with scripts, including authors, categories, images and dates.
- **Media.** Images moved to Sanity, where they are resized and served in modern formats automatically.
- **Addresses.** Every URL kept where possible, and every one that changes gets a [301 redirect](https://www.mn-stud.io/glossary/301-redirects), so rankings and links keep working.
- **SEO settings.** Titles, descriptions and share images from Yoast or Rank Math carried across, then generated by the site itself, with a sitemap and [structured data](https://www.mn-stud.io/glossary/structured-data) on every page.
- **Forms.** Rebuilt as simple forms that email you, or connected to your CRM.
- **Comments.** Usually dropped, since few business sites use them. They can move to a comment service if you need them.

## Plugins, page builders and WooCommerce

Most plugins exist to add things Astro does by default: caching, image optimisation, SEO tags and security. Those simply disappear.

Page builders like Elementor or Divi do not move as they are. Their layouts are rebuilt as a small set of components, sections your team can add, reorder and fill in the Studio, without being able to break the design.

WooCommerce is the big question. A small catalogue can move to Shopify or a simple checkout linked from the site. A large store with many products, variants and custom plugins is often better left on WordPress, or moved as its own project.

## Keeping it easy to edit

The common worry is losing the WordPress dashboard. In practice the Studio is simpler: only the fields each page needs, a note on each one, drafts until you publish and a full history to undo any change. We call these [content guardrails](https://www.mn-stud.io/glossary/content-guardrails). Every site also comes with [AI handover documents](https://www.mn-stud.io/glossary/ai-handover-documents), so an assistant like Claude can make bigger changes safely.

## What it costs and how long it takes

A typical business site moves in four to eight weeks, depending on how many page types there are and how much content moves. Our migrations start from €10,000. After launch, hosting on Cloudflare is usually free, and Sanity's free plan covers most marketing sites, so running costs often drop well below WordPress hosting and plugin licences. For the wider picture, see [Sanity and Astro for marketing sites](https://www.mn-stud.io/articles/sanity-astro-marketing-sites).

## When to stay on WordPress, or choose Webflow

- **Stay on WordPress** if you run a large WooCommerce store, rely on many plugins for core features, or your team lives in the WordPress dashboard and is happy there.
- **Choose Webflow** if your team wants to design and rearrange pages visually in one product, with hosting included. Our [WordPress to Webflow migration guide](https://www.mn-stud.io/articles/wordpress-to-webflow-migration-guide) covers that route.
- **Choose Astro** if you want the fastest pages, code you own, no per-seat fees and an editor with guardrails.

## How we move a WordPress site to Astro

1. **Audit.** Every URL, post type, plugin, form and integration.
2. **Model.** A content model and Studio shaped around your pages, plus a redirect map.
3. **Build.** Your design rebuilt in Astro, or refreshed.
4. **Move.** Content imported with scripts, a dry run first, then checked page by page.
5. **Launch.** Redirects live, Search Console watched, Studio training and four weeks of aftercare.

If you are weighing a move, our [website migration](https://www.mn-stud.io/services/website-migration) service is where to start.

## Questions

### Can WordPress content be moved to Astro automatically?

Yes. Posts, pages, authors, categories and images are exported from WordPress and imported with scripts, then checked. Layouts from page builders are rebuilt as components.

### Will we lose our rankings moving from WordPress to Astro?

Not if every changed URL is redirected and titles, descriptions and content come across. Faster pages usually help.

### Do we lose the WordPress editor?

You swap it for a custom Sanity Studio with click-to-edit preview, drafts and full history. Most teams find it simpler.

### What happens to WooCommerce?

Small catalogues can move to Shopify or a simple checkout. Large stores are often better left on WordPress or moved as their own project.

### Is Astro cheaper to run than WordPress?

Usually. Static hosting on Cloudflare is free for most marketing sites and Sanity has a free plan, so there is no managed hosting or premium plugin bill.
