Fastest path — one AI prompt
Paste a single prompt into your AI agent. The agent runswebstorio migrate wordpress, publishes, seeds content, and refines the layout.
Full walkthrough + copy-paste prompt: Migrate WordPress with one AI prompt
What gets migrated
Themes, plugins, shortcodes, Contact Form 7, and WordPress users are not ported. Shortcodes are stripped and listed in
MIGRATION_REPORT.md.
Step 1 — Export or point at the live site
Option A — WXR file (offline)
- In WordPress admin open Tools → Export.
- Choose All content and download the
.xmlfile (WordPress eXtended RSS / WXR).
Option B — Live REST URL
If the site is still online, pass--url https://your-site.com. The migrator reads the public WP REST API.
WooCommerce products
WXR does not include a full product catalog. To import products, use--url with WooCommerce REST keys:
- In WordPress: WooCommerce → Settings → Advanced → REST API
- Create a key with Read permission
- Pass
--woo-keyand--woo-secret(or setWEBSTORIO_WOO_KEY/WEBSTORIO_WOO_SECRET)
Step 2 — Run the migrator
The command scaffolds a normal CLI project (
webstorio init layout), writes pages/schemas/fixtures, downloads media, and adds:
MIGRATION_REPORT.md— counts, warnings, permalink mapAGENTS.md— instructions for an AI agent to refine the layout
Step 3 — Push and seed
push syncs pages, features, branding, schemas, and assets. seed uploads CMS entries, categories, and store products (skipped if slugs already exist).
Step 4 — Refine with AI
The migrator ships a structural site (readable content + nav), not a pixel-perfect theme clone. If you used the one-prompt walkthrough, refinement is already included. Otherwise:- Open the project in your AI agent (or connect MCP).
- Follow
AGENTS.md— restyle header, footer, and homepage; keepblog_postfield keys and product slugs stable. - Re-run
npx webstorio pushafter TSX edits.
Refine this migrated WordPress site. Keep all CMS blog posts and store products. Improve the homepage hero, header nav styling, and typography. Avoid purple glow themes and dense card grids.
Step 5 — Domain cutover
- Add your custom domain in the Webstorio dashboard and complete DNS verification.
- On the old host, set up redirects from legacy permalinks to the paths in
MIGRATION_REPORT.md(for example/hello-world/→/content/blog_post/hello-world). - After traffic moves, retire the WordPress install.
Troubleshooting
- REST 401/404 — Confirm
/wp-json/wp/v2is public (or reachable) on the source site. - No products — WXR-only runs skip Woo products; add
--url+ Woo keys. - Plan limits — Large catalogs may hit page/product/storage limits; see Pricing or upgrade.
- Broken images — Re-run without
--skip-media, or ensure the old host still serves/wp-content/uploads.

