Migration & SEO / STATICLAUNCH JOURNAL

How to Leave WordPress Without Losing SEO

A step-by-step migration plan to preserve URLs, redirects, metadata, media and search signals when moving WordPress to Astro.

Four Media Group · · 2 min read

Set the right expectation

You can reduce migration risk by keeping valuable content and URLs intact, but nobody can guarantee identical rankings. Treat the migration as an infrastructure project with measurable acceptance criteria. Prefer to keep the existing domain and paths unless there is a clear business reason to change them.

1. Record the current site

Export a crawl of all indexable pages, HTTP status codes, titles, descriptions, canonicals, headings, internal links, media and structured data. Download existing XML sitemaps, analytics and Search Console performance exports. Include top landing pages and linked PDFs, not just pages in the navigation. Store customer information privately.

2. Export and preserve content

Use the WordPress export workflow and a complete authorized backup. Verify that media files, custom post types, custom fields, page-builder content and taxonomy relationships are captured. A WordPress XML export alone may reference media rather than including the files themselves. Restore a test copy before relying on a backup.

3. Design a URL mapping

Create a spreadsheet with old URL, new URL, status, content owner, redirect rule and test outcome. Preserve the existing slug when possible. Use direct permanent server-side redirects for changed URLs; avoid irrelevant homepage redirects, chains and loops. Intentional removals without a replacement should return an appropriate not-found or gone response.

4. Rebuild and test on staging

Recreate high-value content first. Preserve meaningful page titles, headings, metadata, image alt text, structured data, internal links, accessibility and conversion paths. Test forms and custom functionality end to end. Keep staging protected from unwanted indexing, and confirm that the production site will not inherit a noindex directive.

5. Prepare DNS and deployment

Inventory DNS records and mail services. Maintain a tested restore and rollback option. Confirm the new sitemap includes the production canonical URLs and that robots rules allow crawling of the intended public content. Test every changed URL and critical journey against the deployment before cutover.

6. Monitor after launch

Check live HTTP responses, redirects, canonical tags, sitemap and robots. Submit the sitemap in Search Console, inspect important pages, monitor coverage, 404s, traffic and conversions, and investigate unexpected losses. If the domain changes, follow Google's domain-move guidance. Keep relevant redirects long-term and document them.

A migration acceptance checklist

The old and new inventories reconcile; every valuable URL works or redirects to the intended equivalent; images and downloads load; important pages are crawlable; mail and forms work; the owner controls the repository and domain; and rollback is documented. Launch only after these checks are complete.

Frequently asked questions

Will changing from WordPress to Astro hurt SEO?

It need not, but changes in content, URLs, indexing or infrastructure can affect search performance.

Do I need to change my domain?

Usually not; keeping the domain and URL paths reduces unnecessary change.

How long should redirects stay?

Google recommends keeping site-move redirects for as long as possible, generally at least a year; keep valuable redirects longer where practical.

Sources and further reading

Market statistics and hosting terms are time-sensitive; verify current figures before relying on them.

TAKE THE NEXT STEP

Launch anything. Own everything.

Build, migrate and maintain a website you control. StaticLaunch is a free educational resource from Four Media Group LLC.

WordPress migration playbook · Academy · AI workflows · Launch your site

Continue reading

All articles →