AI Kit

WordPress to Cloudflare and Astro: an SEO-safe migration guide

Short answer: a brochure site or blog can leave WordPress for Astro on Cloudflare without losing search visibility, as long as every old URL keeps working or 301-redirects to its new home and the titles, descriptions, canonical tags, structured data and sitemap carry over. Most traffic losses come from skipped redirects and missing metadata, not from the platform change.

AI Kit LLC is not affiliated with or endorsed by Cloudflare, WordPress or Astro. This guide explains risks; it does not promise rankings or traffic.

Who this move suits

Who should not migrate

For these sites the rebuild is an application project, not a hosting switch, and staying put is often the better call.

What breaks SEO during a migration

How Audit A covers this

Audit A is a written review of what a move to Cloudflare Workers would change. See Audit A.

Weighing hosting costs too? The hosting cost comparison gives a rough list-price range in your browser.

Free checklist: before and after cutover

Before you switch DNS

  1. Crawl the live WordPress site and export every indexable URL, including archives, feeds and media.
  2. Download Search Console performance data so you have a baseline of top pages and queries.
  3. Build a redirect map from each old URL to its new URL, and load it into Cloudflare redirects.
  4. Copy titles, meta descriptions, canonical tags, Open Graph tags and structured data for every page.
  5. Rebuild forms and site search, then send test submissions and run test queries on the staging site.
  6. Keep staging out of the index with noindex, and note that it must be removed at launch.

After cutover

  1. Remove any staging noindex, check robots.txt, and confirm the production canonical domain.
  2. Re-crawl the old URL list and confirm each returns 200 or a single 301, with no 404s or redirect chains.
  3. Submit the new sitemap in Search Console and watch the coverage and 404 reports for two to four weeks.
  4. Keep the old host and the rollback plan available until traffic and indexing look stable.

Frequently asked questions

Does moving from WordPress to Cloudflare and Astro hurt SEO?

Not by itself. Traffic usually drops when URLs change without 301 redirects, when titles, descriptions or canonical tags go missing, or when a robots rule blocks crawlers after launch. If every old URL still answers or redirects to its closest match and the page content stays the same, search engines can treat the new build as the same site. Nobody can promise rankings after a migration, and we do not.

What happens to my WordPress blog posts?

Posts can be exported and rebuilt as Astro pages or content entries. Keep each post's slug, publish date, title, meta description, featured image and category paths. If WordPress served posts under a date-based path, either keep that pattern or add a 301 from each old path to the new one.

What about contact forms and site search?

WordPress plugins handle both on the server, and a static Astro site has no PHP to run them. Forms need a replacement such as a Cloudflare Worker endpoint or a third-party form service, plus spam protection. Search needs a static index built at deploy time or a hosted search service. Test both before you change DNS.

Should I pick EmDash or a plain static Astro build?

Choose a static Astro build when a developer edits content in Git and the site changes rarely. Choose EmDash, an Astro-based CMS that runs on Cloudflare, when non-technical editors need an admin screen to publish posts without touching code. Both serve pages from Cloudflare; the difference is how content gets edited.

When should I not migrate?

Stay on WordPress, or plan a much larger project, if the site depends on complex WooCommerce stores, booking and calendar plugins, membership or paywall plugins, or many logged-in user accounts. Those features rely on server-side plugins that have no drop-in replacement on a static site.

How long does a WordPress to Astro migration take?

It depends on page count, custom post types and plugins. A small brochure site with a blog is often days of work, while large or plugin-heavy sites take weeks. Audit A does not do the migration itself; it is a written review that helps you plan the work.

Ready to check your own site? See Audit A.