Loading tutorials…
Loading tutorials…
Yoast → Rank Math migration is the SEO operation most likely to silently break things on a busy site. Done right, you keep every meta title, description, and redirect intact. Done sloppily, you lose 4-8 weeks of ranking power. This is the safe path.
Who this is forWordPress site owners on Yoast (5+ years usually) who want to switch to Rank Math for features Yoast charges Premium for. Especially relevant if you have 100+ posts with manual meta — you cannot afford to lose them.
What you'll need
Step 1
Full database + files backup. Set up staging if possible. Document current Yoast configuration via screenshots.
Take a fresh full backup: UpdraftPlus → Backup Now → check Database AND Files. Or BlogVault → backup. Or host backup (Kinsta, WP Engine all have one-click backups).
If your host offers staging: clone production to staging. Run the migration on staging first, audit, then promote to production.
Screenshot every Yoast configuration screen: Settings → Search Appearance → all tabs (Content Types, Taxonomies, Archives, Breadcrumbs). Save screenshots to a folder.
Export Yoast settings: Yoast SEO → Tools → Import and Export → Export your Yoast SEO settings → save the .zip file outside WordPress (Dropbox, local desktop).
Export Yoast Premium redirect manager data if you have Premium: Yoast SEO → Redirects → Export → CSV.
List custom schema implementations (if any) in a spreadsheet — these don't auto-migrate. You will recreate them in Rank Math after.
Step 2
Plugins → Add New → install Rank Math. Do NOT click Activate yet. Yoast must stay active during the import.
WordPress Admin → Plugins → Add New → search "Rank Math SEO" → Install Now. STOP — do not click Activate yet.
This is the critical difference from the fresh-install tutorial: in a migration, Rank Math must be installed but inactive until you are ready to do the meta import in a controlled way.
Yoast stays active throughout this step. Both plugins are now in the system — only Yoast is firing meta tags.
Open the Rank Math login page (rankmath.com/login) in a separate tab and ensure you have an account ready. The activation flow needs account connection.
Step 3
Activate Rank Math → connect account → close Setup Wizard → Status & Tools → Import & Export → Import from Yoast.
WordPress Admin → Plugins → activate Rank Math.
After activation, connect your Rank Math account (free account, 30 seconds).
CLOSE the Setup Wizard. We will run it after the import so the import does not overwrite imported data.
Rank Math → Status & Tools → Import & Export → Import from Other Plugins tab.
Rank Math detects Yoast SEO data still in the database. Click "Import" next to Yoast.
Tick the data types to import: Titles & Meta (YES), Settings (YES), Redirections (YES if using Yoast Premium), Internal Links (skip — Yoast-specific).
Run the import. 200-500 posts: ~30 seconds. 5,000+ posts: 3-5 minutes. Do not refresh the page during the import.
Confirmation: "Import completed successfully. X items imported."
Step 4
Open 20 random posts. Check Rank Math sidebar SERP preview vs old Yoast snippet. View Source — there should still be Yoast meta tags live (Yoast is still active).
Open the WordPress admin → All Posts → sort by random order.
Open 20 posts (mix of recent + old + cornerstone). For each: scroll to Rank Math sidebar. The SEO Title and Description should match what Yoast had.
If Rank Math sidebar shows blank or template-only meta, the import did not pull custom meta for that post. Possible causes: post used Yoast Premium-only features, or post meta was stored in non-standard meta keys.
Spot-check live URLs in private window. View Source. Yoast is still active so you should still see Yoast meta on the live site — confirming nothing has broken yet.
For 5-10 of these URLs, document the live <title> and <meta description> in a spreadsheet. You will compare to post-deactivation state.
Step 5
Plugins → Deactivate Yoast. Within 30 seconds, re-View Source on 5-10 URLs. Confirm Rank Math meta is now firing.
WordPress Admin → Plugins → find Yoast SEO → Deactivate.
Do NOT delete yet. Yoast stays installed (inactive) for at least 24 hours as a rollback option.
Immediately purge all caches: WP Rocket → Clear Cache; Cloudflare → Purge Everything; etc.
Within 30 seconds, open 5-10 of the URLs you documented earlier in private windows. View Source.
Confirm: title and description match what you documented (and match Rank Math sidebar). If they don't, Rank Math import was incomplete for that URL — re-import or set manually.
If you see blank or empty meta on any URL: rollback by re-activating Yoast immediately. Diagnose what failed before retrying.
Step 6
Now run Rank Math Setup Wizard → audit Titles & Meta global settings → configure Schema generator → verify redirects imported.
Rank Math → Setup Wizard. Walk through each screen — content types, sitemaps, SEO Tweaks. The wizard does NOT overwrite imported per-post meta, only global defaults.
Rank Math → Titles & Meta. Audit each content type: Posts, Pages, Categories, Tags. The defaults should match what Yoast had (the import set them) but verify before relying.
Rank Math → Schema. Verify the schema generator defaults match your content types. Article for Posts, Web Page for Pages.
Rank Math → Redirections. If you had Yoast Premium redirects, verify they imported. Spot-check 10 redirects (open Source URL in private window — should bounce to Destination).
For any data that did not migrate (custom schemas, Yoast Local SEO, Yoast WooCommerce): recreate manually in Rank Math equivalents. List the gaps in a tracking doc.
Step 7
GSC → URL Inspection on top 25 URLs → Indexing → Pages → look for spikes in errors. GSC → Enhancements → schema warnings.
Submit fresh sitemap to GSC: Indexing → Sitemaps → resubmit sitemap_index.xml.
Daily for first 7 days: GSC → Indexing → Pages → look for spikes in "Discovered — currently not indexed," "Soft 404," "Server error." Spikes mean the migration caused indexing issues.
Weekly for next 30 days: GSC → Enhancements → audit Articles, FAQ, HowTo, Product schemas. Warnings/errors should be flat or decreasing — spikes mean schema regressions.
Check rankings of top 25 keywords weekly via your rank tracker (Ahrefs, Semrush, AccuRanker). Expect minor 1-3 position drift in week 1 (normal during recrawl), recovery in week 2-4.
If rankings drop more than 5 positions on multiple top keywords by week 3: roll back. Reactivate Yoast, deactivate Rank Math, restore from backup if needed.
After 30 days of stable performance: delete Yoast plugin and the Rank Math import is complete.
Common mistakes
Deleting Yoast immediately after deactivating it
What goes wrong: If Rank Math import was incomplete or post-migration verification finds issues, the rollback path requires Yoast to still be installed (inactive is fine). Delete it and rollback requires restoring from a database backup — multi-hour recovery for what could have been a 30-second toggle. Specialist emergency recovery is typically $200-500.
How to avoid: Keep Yoast installed but DEACTIVATED for at least 30 days post-migration. Only delete after rankings are stable and zero issues surface in GSC.
Skipping the post-deactivation verification step
What goes wrong: You deactivate Yoast, assume the import worked, walk away. Some posts have blank meta now. Google recrawls and indexes posts with empty titles/descriptions. SERP CTR drops 30-60% on those posts. You discover it weeks later from analytics — typically $800-3,000 in lost organic CTR value during the undetected window.
How to avoid: Within 30 seconds of deactivating Yoast, View Source on 10+ URLs in private windows. Confirm titles and descriptions are present and correct. If any are blank, re-activate Yoast immediately and diagnose.
Not exporting Yoast settings as a fallback before activation
What goes wrong: Mid-migration something goes wrong — Yoast database tables corrupted, plugin conflict, host server outage. Without an exported Yoast settings backup, you cannot reinstall and restore Yoast state. You are stuck mid-migration in a broken state.
How to avoid: Always export Yoast settings (Yoast → Tools → Import and Export → Export) BEFORE installing Rank Math. Save the .zip outside the WordPress install (Dropbox, desktop).
Running migration during high-traffic hours
What goes wrong: During the migration window, some users hit pages with broken/blank meta. Some pages temporarily return 500 errors during plugin activation. Cached HTML serves with mixed meta tags. CTR for that day drops, bounce rate spikes — costing $300-1,500 in lost peak-hour conversions for a mid-traffic e-com site.
How to avoid: Run migrations during the lowest-traffic 4-hour window for your site. Most sites: 2am-6am local time. Check your GA4 hourly traffic distribution to find your low point.
Not auditing custom Yoast schema or third-party Yoast addon data
What goes wrong: Yoast Local SEO ($79/yr), Yoast News, Yoast WooCommerce, and custom JSON-LD schemas do NOT migrate via the Rank Math import. You lose all of them silently. LocalBusiness schema disappears. News article schema disappears. Custom Product schema vanishes — $500-2,000 in rich-result revenue loss.
How to avoid: Before migration: list every Yoast addon and custom schema in use. Document the configuration of each. After migration: recreate the equivalent in Rank Math (Local SEO module, schema generator, custom schema templates).
Forgetting to purge cache after deactivating Yoast
What goes wrong: Page cache, object cache, and CDN cache continue serving HTML with Yoast meta tags for hours or days. Googlebot crawls and sees mixed/stale data. Some pages show Yoast meta, others show Rank Math meta — visible inconsistency to Google looks like a hack/compromise.
How to avoid: After deactivating Yoast: purge ALL cache layers (page → object → CDN → browser). Re-verify in private windows. Submit homepage to GSC URL Inspection → Request Indexing to force a fresh crawl with clean meta.
Recap
Done — what's next
How to install Rank Math on WordPress the right way
Read the next tutorial
Hand it off
Yoast → Rank Math is the SEO migration most likely to silently break things on a busy site. A vetted technical SEO specialist runs the migration during your low-traffic window with a tested rollback plan, verifies clean state on the top 50 URLs, and monitors GSC for 30 days. Typically $200-500 for migrations on 100-1000 post sites — way cheaper than 4-8 weeks of ranking recovery.
See specialist rates
Not if you run the import correctly. Rank Math → Status & Tools → Import & Export → Import from Yoast pulls every meta title, description, focus keyphrase, canonical, and robots flag. The trap is forgetting to run the import — just deactivating Yoast without importing first loses everything.
Yes — Rank Math's import detects Yoast Premium redirect rules and migrates them to the Rank Math Redirections module. Spot-check 10-20 redirects post-import (open old URL in private window, verify it bounces to new destination). If Yoast Premium had conditional redirects (referrer-based, user-agent-based), those may need manual recreation in Rank Math PRO.
At least 30 days. If rankings stay stable in GSC and no schema regressions surface in Enhancements reports, then delete Yoast. The first 14 days are highest-risk for surfaced migration issues — keep the rollback option intact during that window.
Minor 1-3 position drift on some keywords during the first 1-2 weeks of recrawl is normal. Recovery in weeks 2-4. Drops of 5+ positions on multiple keywords by week 3 indicate a real problem — investigate and roll back if needed. The honest expectation: well-executed migrations have no net ranking impact; poorly-executed ones lose 4-8 weeks.
Yes. The Rank Math import works against the Yoast database tables regardless of whether your Yoast Premium license is active. The license controls Yoast feature availability, not the data already stored. As long as Yoast is installed and active when you run the import, the migration succeeds.
RankMath
Rank Math runs on 3M+ WordPress sites and ships features Yoast charges Premium for, free. But the install is more opinionated than it looks — competing plugins, account connection, and module defaults all matter. This is the clean-install path.
RankMath
The Setup Wizard is the single most important hour you spend on Rank Math. Every screen sets a global default that is painful to undo later. This is the deliberate, opinionated walkthrough with the right answers for 90% of business sites.
RankMath
Rank Math Redirections is the redirect manager that replaces standalone plugins like Redirection by John Godley. It handles 301s, 302s, regex, source/destination groups, and integrates with the 404 Monitor. This is the production-setup walkthrough.
RankMath
Rank Math works for 95% of sites out of the box. The other 5% hit one of a handful of recurring issues — sitemap 404s, schema warnings spiking in GSC, meta not appearing, activation crashes. This is the diagnostic flowchart that fixes 80% of them.
RankMath
Rank Math is an SEO plugin. Specialists are people who know what to do with it. Knowing which moment is "still DIY" vs "hire help" is the highest-leverage call you can make. This is the honest framework — based on what we see across the platform.