v4.4.0: Migration tool — import from Yoast / Rank Math#23
Merged
Conversation
New StrataWP SEO → Migrate admin page that imports settings from Yoast SEO, Yoast Premium, Rank Math, and Rank Math Pro. Phase 1 (v4.3.0): per-post meta — title, description, focus keyword, canonical, breadcrumb title, social title/description/image. Streamed in 100-post batches. Phase 2 (v4.4.0): global settings — title separator (Yoast sc-* codes decoded), title templates per post type / taxonomy / archive, per- post-type noindex flags. Rank Math single-percent variables rewritten to StrataWP %%var%% syntax (longest-match-first). Phase 3 (v4.4.0): redirects — Yoast Premium (wpseo-premium-redirects- base + regex) and Rank Math Pro (wp_rank_math_redirections active rows). Inserts go through SWPS_Redirect_Manager::add_redirect for validation; 301/302/307/410 supported, regex preserved. UI has phase checkboxes, preview before run, skip-existing vs overwrite conflict policy, and one-click Undo that reverts post meta, options, and inserted redirect rows atomically using a typed backup snapshot (with backwards-compat for v4.3.0 backups). Co-Authored-By: claude-flow <ruv@ruv.net>
Resolves conflicts on stratawp-seo.php (version), readme.txt (Stable tag + changelog), and consolidates the migration tool changelog into a single 4.4.0 entry. Main's 4.3.0 (GitHub auto-updater) and 4.2.3 (sitemap toggle fix) entries kept as-is; the migration tool that was provisionally split across 4.3.0 + 4.4.0 on this branch is now bundled under 4.4.0 so the version line stays linear with main. Co-Authored-By: claude-flow <ruv@ruv.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New StrataWP SEO → Migrate admin page that imports settings from Yoast SEO, Yoast Premium, Rank Math, and Rank Math Pro.
Phase 1 (v4.3.0): per-post meta — title, description, focus keyword, canonical, breadcrumb title, social title/description/image. Streamed in 100-post batches.
Phase 2 (v4.4.0): global settings — title separator (Yoast sc-* codes decoded), title templates per post type / taxonomy / archive, per- post-type noindex flags. Rank Math single-percent variables rewritten to StrataWP %%var%% syntax (longest-match-first).
Phase 3 (v4.4.0): redirects — Yoast Premium (wpseo-premium-redirects- base + regex) and Rank Math Pro (wp_rank_math_redirections active rows). Inserts go through SWPS_Redirect_Manager::add_redirect for validation; 301/302/307/410 supported, regex preserved.
UI has phase checkboxes, preview before run, skip-existing vs overwrite conflict policy, and one-click Undo that reverts post meta, options, and inserted redirect rows atomically using a typed backup snapshot (with backwards-compat for v4.3.0 backups).