How to Migrate from WordPress Without Losing SEO: Complete Guide
You have spent years building your WordPress site. Hundreds of blog posts, carefully optimized pages, backlinks from authoritative domains, and hard-won rankings that drive real traffic. Now you want to migrate from WordPress, but the fear of losing SEO keeps you frozen.
You have spent years building your WordPress site. Hundreds of blog posts, carefully optimized pages, backlinks from authoritative domains, and hard-won rankings that drive real traffic. Now you want to migrate from WordPress, but the fear of losing SEO keeps you frozen.
That fear is reasonable. Botched migrations destroy rankings every day. But here is the truth: you can migrate from WordPress without losing SEO if you follow a disciplined, step-by-step process. Google itself has published guidelines confirming that site migrations, when handled correctly, preserve the vast majority of your search equity.
This guide walks you through the entire process, from pre-migration audits to post-launch monitoring, so your traffic survives the transition intact.
Why SEO Gets Lost During Migration (And How to Prevent It)
Before diving into the how, you need to understand the why. SEO does not vanish randomly during a migration. It gets destroyed by specific, preventable mistakes.
The most common migration mistakes:
- URLs change without redirects. This is the number one killer. Every URL that changes without a proper 301 redirect becomes a dead end for Google and your visitors.
- Content not fully migrated. WordPress shortcodes, custom fields, and plugin-generated content often get left behind, turning rich pages into empty shells.
- Metadata lost in translation. Title tags, meta descriptions, Open Graph tags, and custom SEO fields from Yoast or Rank Math do not automatically carry over.
- Canonical tags not updated. If your canonical tags still point to the old domain or old URL structure, Google will ignore your new pages.
- Sitemap not submitted. Google needs your updated sitemap to discover and crawl your new URL structure.
- Structured data disappears. Schema markup for articles, products, FAQs, and breadcrumbs often lives in WordPress plugins and does not migrate automatically.
- Speed regression. If your new platform is slower than your optimized WordPress setup, Core Web Vitals scores drop, and rankings follow.
What "losing SEO" actually looks like:
The damage is not subtle. Sites that botch a migration see traffic drop 50 to 90 percent overnight. Pages that ranked on page one vanish from search results entirely. In severe cases, Google deindexes pages it can no longer crawl. Recovery takes three to six months on average, and some sites never fully recover their previous rankings.
The good news: Google's own migration documentation states that properly implemented 301 redirects pass nearly all ranking signals to the new URLs. A well-executed migration might cause a brief dip of 10 to 20 percent for a few weeks while Google reprocesses your site, but rankings stabilize quickly when the fundamentals are handled correctly.
Pre-Migration SEO Audit (Document Everything)
The single most important thing you can do before migrating is document your current SEO state. You cannot measure what you have not recorded, and you cannot fix what you cannot compare to a baseline.
Step 1: Content Inventory
Export every URL on your site. You can do this with Screaming Frog (crawl your domain), Google Search Console (Performance report, export all pages), or a simple WordPress plugin like WP All Export. Create a spreadsheet with every URL, its title, word count, and whether it receives organic traffic.
Step 2: Ranking Audit
Use Google Search Console, Ahrefs, SEMrush, or any rank tracking tool to document your current keyword positions. Export the data. Focus on pages that drive actual traffic, not vanity rankings for terms nobody searches. Record the top 50 to 100 pages by organic traffic. These are your priority pages during migration.
Step 3: Link Audit
Your backlink profile is one of the hardest things to rebuild. Use Ahrefs, Moz, or Google Search Console's Links report to export all external links pointing to your site. Document which URLs receive the most backlinks, because these absolutely must have working redirects after migration.
Step 4: Technical SEO Audit
Record your current page speed scores (Google PageSpeed Insights), mobile usability status (Search Console), crawlability (any blocked resources in robots.txt), and structured data (Rich Results Test). These become your benchmarks for post-migration comparison.
Step 5: On-Page SEO Audit
Export all title tags, meta descriptions, header structures (H1 through H3), image alt text, and internal linking patterns. If you use Yoast or Rank Math, export the SEO metadata from those plugins directly. This data must transfer to your new platform.
Plan Your URL Structure (Before Migration)
Your URL strategy determines whether migration is smooth or catastrophic. Make this decision before you touch a single file.
Option A: Keep exact URLs. If your new platform can replicate your WordPress URL structure exactly, no redirects are needed. This is the safest approach. Your URLs stay the same, Google sees no change, and traffic continues uninterrupted.
Option B: Change URLs with 301 redirects. If you want cleaner URLs (removing dates, simplifying categories), you can change them safely as long as every old URL has a corresponding 301 redirect to its new location. This passes 95 to 99 percent of link equity.
Option C: Change URLs without redirects. This is a disaster. Do not do this under any circumstances. Every changed URL without a redirect becomes a 404 error, and Google treats it as a deleted page.
URL best practices for the new structure:
- Use hyphens to separate words, never underscores
- Keep URLs short and descriptive (under 60 characters when possible)
- Be consistent with trailing slashes (either always use them or never use them)
- Use lowercase only
Common URL changes during WordPress migrations:
- Removing date prefixes:
/blog/2024/01/my-post/becomes/my-post/ - Removing the
/blog/prefix:/blog/my-post/becomes/my-post/ - Simplifying categories:
/category/seo/tips/my-post/becomes/seo-tips/my-post/
Create a URL mapping spreadsheet. Two columns: old URL on the left, new URL on the right. Every single page, post, category, tag, and media URL needs an entry. For a site with 200 pages, this takes an hour. For a site with 2,000 pages, use regex patterns to automate the mapping. Either way, the spreadsheet is your migration bible.
Setting Up 301 Redirects (The SEO Lifeline)
The 301 redirect is the single most important technical element of any migration. Get this right and your SEO survives. Get it wrong and you start over from zero.
What a 301 redirect does: It tells Google (and browsers) that a page has permanently moved to a new location. Google transfers 95 to 99 percent of the original page's ranking authority to the new URL. The old URL stops appearing in search results, and the new URL inherits its position.
Where to implement redirects:
- Server level (.htaccess or nginx config). The fastest and most reliable method. Redirects happen before any page loads.
- WordPress plugin (before decommissioning). Plugins like Redirection or Yoast Premium can set up redirects while your WordPress site is still running.
- CDN or Cloudflare. If you use Cloudflare, you can set up Page Rules or Bulk Redirects that work regardless of your hosting platform.
- New platform's redirect feature. Most modern platforms, including tools like WebVillage, have built-in redirect management that makes bulk imports straightforward.
How to implement redirects at scale:
For small sites (under 50 pages), configure redirects manually. For larger sites, use bulk import tools or regex-based pattern matching. For example, if every URL is changing from /blog/YYYY/MM/slug/ to /slug/, a single regex rule handles thousands of redirects:
`
RedirectMatch 301 ^/blog/\d{4}/\d{2}/(.)$ /$1
`
Testing your redirects: Before going live, verify every redirect using httpstatus.io (check individual URLs), Google Search Console's URL Inspection tool (confirm Google can follow the redirect), or a bulk redirect checker like Screaming Frog. Test your top 50 traffic pages individually. Test pattern-based redirects with at least 10 sample URLs per pattern.
Technical Migration Steps (URLs, Content, Metadata)
With your audit complete and URL mapping ready, it is time to execute the migration.
Step 1: Export WordPress Content
Go to Tools, then Export in your WordPress admin. Export All Content. This generates a WXR (WordPress eXtended RSS) file containing posts, pages, comments, custom fields, categories, tags, and media references. For larger sites or more granular control, use WP All Export or a direct database export.
Step 2: Transform and Clean the Content
WordPress content is rarely clean. Before importing to your new platform, you need to strip or convert shortcodes (these render as plain text like [gallery ids="1,2,3"] outside WordPress), fix image paths to point to your new media location, preserve meaningful HTML structure (headings, lists, tables, bold, italic), and remove plugin-specific markup that will not render on the new platform. This cleanup step is tedious but critical. Broken shortcodes and missing images make pages look abandoned, and Google notices quality drops.
Step 3: Import to Your New Platform
Every platform handles imports differently. Some accept WXR files directly. Others need CSV or Markdown. Transform your content into the required format, import it, and verify that every page exists at its correct new URL. Spot-check at least 20 pages for formatting issues.
Step 4: Preserve Metadata
Map your WordPress SEO metadata to equivalent fields on the new platform. Title tags, meta descriptions, Open Graph titles, Open Graph descriptions, and canonical URLs all need to transfer. If your new platform does not have dedicated SEO fields, you need to find another solution or reconsider the platform choice. Losing metadata means losing the on-page optimization you have built over years. This is one area where platforms with built-in SEO management, like WebVillage, save significant migration effort by providing dedicated fields for every piece of SEO metadata.
Step 5: Update Internal Links
Every internal link in your content that points to an old URL needs updating. Do not rely on redirects for internal links. While redirects work, they add latency and create unnecessary redirect chains. Use find-and-replace across your content to update all internal links to the new URL structure. Your URL mapping spreadsheet makes this straightforward.
Step 6: Implement Redirects
Deploy the 301 redirects you planned earlier. Do this at the exact moment you switch from the old site to the new one. There should be zero gap between the old site going down and redirects going live.
Telling Google About the Move (Search Console)
Google does not automatically know you have moved. You need to tell it explicitly through Search Console.
If you are changing domains (wordpress-site.com to newsite.com):
- Add and verify the new domain in Google Search Console.
- On the old domain's property, go to Settings and use the Change of Address tool.
- Submit your new sitemap on the new domain's property.
- Update your robots.txt on the new domain to ensure nothing is accidentally blocked.
- Monitor the Coverage report for crawl errors.
- Use the URL Inspection tool to request indexing of your most important pages (you can do about 10 per day).
If you are keeping the same domain (just changing platform):
- Submit your updated sitemap in Search Console.
- Monitor the Coverage report for any new errors.
- Use URL Inspection on your top pages to prompt recrawling.
- Check that your robots.txt is not blocking resources the new platform needs.
Timeline for Google to process the change: Initial crawling and redirect following starts within 24 to 48 hours. Full reprocessing of a medium-sized site (500 to 2,000 pages) takes two to four weeks. Larger sites can take six to eight weeks for complete reindexing.
Post-Migration SEO Monitoring (First 4 Weeks)
The migration is not done when the new site goes live. The next four weeks determine whether your SEO survives.
Week 1: Technical Verification
Check for 404 errors in Search Console and server logs. Verify all redirects are working (test your top 100 URLs). Run PageSpeed Insights on key pages and compare to your pre-migration benchmarks. Confirm structured data is rendering correctly with Google's Rich Results Test. Fix anything broken immediately; speed matters here.
Weeks 2-3: Indexation Monitoring
Watch the Coverage report in Search Console. Your indexed page count should remain stable. If it drops significantly, Google is having trouble crawling or understanding the new site. Monitor your crawl rate in Search Console (Settings, then Crawl Stats). A healthy migration shows steady or increased crawling as Google discovers your new URLs.
Week 4: Ranking Monitoring
Compare your current rankings to your pre-migration baseline. A temporary drop of 10 to 20 percent is normal and expected. Rankings should begin recovering by the end of week four. If you see a drop of 50 percent or more, something is wrong and needs immediate investigation.
Red flags that require action:
- Traffic drops more than 40 percent and does not start recovering by week three
- Crawl errors are increasing rather than decreasing
- Large numbers of pages showing as "Discovered, currently not indexed"
- Your sitemap shows significantly fewer URLs than expected
- Core Web Vitals scores are substantially worse than before
Common Migration Mistakes (And How to Fix Them)
Even with careful planning, mistakes happen. Here are the most common issues and their fixes.
No redirects implemented. Symptom: massive 404 spike in Search Console, immediate traffic drop. Fix: implement 301 redirects immediately. The longer you wait, the more authority you lose. Prevention: always prepare and test redirects before going live.
Wrong redirect type (302 instead of 301). Symptom: rankings drop gradually, Google keeps showing old URLs. Fix: change all 302 (temporary) redirects to 301 (permanent). Prevention: explicitly specify 301 in every redirect rule and verify with a redirect checker.
Broken internal links. Symptom: high bounce rate, poor user experience, crawl errors on internal pages. Fix: run a site-wide crawl with Screaming Frog and update all broken internal links. Prevention: update internal links as part of the migration process, not after.
Metadata not migrated. Symptom: generic or missing title tags and meta descriptions in search results, lower click-through rates. Fix: re-enter all metadata manually or via bulk import. Prevention: include metadata migration as a dedicated step in your migration plan.
Images not migrated or broken. Symptom: broken image icons throughout the site, poor user experience, lost image search traffic. Fix: re-upload images and update all image references in content. Prevention: test image rendering on at least 20 pages before going live.
No Search Console setup for new domain. Symptom: no data on how Google sees your new site, blind to crawl errors. Fix: add the new property to Search Console immediately. Prevention: set up Search Console for the new domain before migration day.
Robots.txt blocking content. Symptom: pages disappearing from search results, "Blocked by robots.txt" errors in Coverage report. Fix: update robots.txt to allow crawling of all public content. Prevention: review robots.txt on the new platform before going live.
Domain change without 301 redirects. Symptom: old domain still ranks, new domain invisible to Google. Fix: implement domain-level 301 redirects and use Search Console's Change of Address tool. Prevention: never change domains without a comprehensive redirect plan.
Each of these mistakes is fixable, but fixing them after the damage is done takes weeks or months longer than preventing them in the first place. The pre-migration audit and URL mapping spreadsheet exist specifically to catch these issues before they become problems.
Moving Forward with Confidence
Migrating from WordPress without losing SEO is not a matter of luck. It is a matter of preparation, execution, and monitoring. Document everything before you start, map every URL, implement proper 301 redirects, transfer all metadata, tell Google about the move, and watch your metrics closely for the first month.
If the technical complexity feels overwhelming, you are not alone. This is exactly why we built migration support into WebVillage, including automated redirect management, metadata preservation, and post-migration monitoring dashboards. But whether you use a managed tool or handle everything manually, the fundamentals in this guide remain the same.
The cost of staying on a platform that no longer serves you is real. If you have not already, read about the true cost of running a WordPress site and why experienced developers are leaving WordPress behind. When you are ready to make the move, this guide ensures your SEO makes the journey with you.
Migrate your WordPress site safely. Take the time to plan, execute methodically, and monitor closely. Your rankings are worth the effort.