Skip to main content
Leave WordPress with a single prompt in your AI agent. The agent runs the WordPress migrator via the CLI, pushes to Webstorio, seeds posts (and Woo products when available), then restyles the layout. You need Node.js, a free Webstorio account, and an AI agent that can edit files and run terminal commands. Keep your WordPress site online for REST import, or have a WXR export ready (Tools → Export). Prefer typing every CLI flag yourself? Use Migrate from WordPress. Prefer building a new site from scratch? See Your first site with AI agents.

What you’ll end up with

  • A local Webstorio CLI project with migrated pages, blog posts (blog_post CMS), media, and optional WooCommerce products
  • MIGRATION_REPORT.md (permalink map) and AGENTS.md (refine instructions)
  • A live URL like https://your-site.webstor.io
  • A redesigned header/home — structural import first, then AI polish

Step 1 — Open your AI agent

Open an empty folder (or any workspace) in your AI agent. You do not need a Webstorio project yet.

Step 2 — Paste the prompt

Copy the prompt below into a new chat. It asks for your WordPress URL (or WXR path), then runs migrate → install → login → push → seed → refine.

Step 3 — Answer the agent and approve login

Give your WordPress URL (for example https://example.com) or the path to your .xml export, plus the name/subdomain you want. When the agent runs npx webstorio login, sign in and approve the CLI, then tell the agent to continue.

Step 4 — Check the live site

Open the URL the agent returns. Posts live under CMS routes like /content/blog_post/.... Static pages keep their slugs. Review MIGRATION_REPORT.md for redirects when you cut over DNS.

What gets migrated

Themes, plugins, shortcodes, and WP users are not ported. The first pass is structural; step 7 of the prompt is the AI redesign.

Tips

  • Large media libraries take time — the CLI prints crawl and download progress.
  • No public Woo API? Skip keys; products can be added later in the dashboard or via MCP.
  • After cutover, point your custom domain in Webstorio and add redirects from old permalinks.