Menu

1 / 4

How I replace Yoast SEO when I move a client from WordPress to Astro

DEV Community: astro·Linc·12 days ago
#7vNgypXm
#devtoastro#devto#dev#astro#yoast
Reading 0:00
15s threshold

When I pull a client off WordPress, Yoast (or Rank Math) is usually one of the first plugins they ask about. They spent years tweaking titles and meta descriptions. They dont want that work thrown out with the old theme.

Here is the checklist I actually run so rankings dont fall off a cliff during the move.

1. Export the SEO data before you touch the theme

I never migrate "by feel". I pull a CSV of every public URL with:

post/page title

Yoast SEO title (or Rank Math equivalent)

meta description

canonical if they set one

noindex / nofollow flags

focus keyphrase (nice to have, not required)

If a plugin export is messy I just query wp_postmeta for _yoast_wpseo_title and _yoast_wpseo_metadesc and join it to the posts table. Ugly SQL, works every time.

Save that file. It becomes your source of truth for the Astro site.

2.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.