Skip to content
TriedPrompts

More in Migrations & upgrades.

Migrate two websites from WordPress to Wagtail with Claude Code

Over a weekend Claude Code moved two sites from WordPress to Wagtail, including server setup and testing; the poster says nothing broke.

Result: WorkedTool: Claude CodeLevel: AdvancedSetup: Needs Python

Copy the prompt

Outcome

Over a weekend Claude Code migrated two sites from WordPress to Wagtail (PHP to Python), including server setup, data transfer, testing and fixes, and redesigned a homepage; the poster reports nothing broke and traffic and tools stayed in place. The work was done entirely by Opus 4.6 in Claude Code, including buying a server, and the poster didn't write a single line of code. The previous redesign of the main page alone had cost the poster around $2,000, 6 weeks and hours of communication with an agency.

Evidence: Described by posterThe person describes what happened in words, without screenshots or video.

WorkedEvidence: Described by posterPosted Last checked

Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.

How to use this

  1. Tap Copy prompt.
  2. Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
  3. Paste it into the message box.
  4. Send it, then read the answer before acting on it.
New to this? What's a prompt?

A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.

Prompt

Recreated prompt

The source didn't share its exact prompt, so we wrote one from what it describes. The result shown is the source's, not ours.

What the prompt labels mean

The person didn't share their exact words, so we wrote this from what they described. We haven't tested it, and they didn't use this exact version.

Here's a task I'd like your help with. Read it all the way through before you start.

Goal: Move my website from WordPress to Wagtail without breaking anything.

Check with me first: Which pages, plugins and tools must keep working after the move?

What I'll give you:
- Access to my current WordPress site and its data
- A server or hosting for the new site (you'll ask before buying one)
- A list of tools I rely on (analytics, forms, etc.)

Rules:
- Plan the migration and show me the plan first.
- Move the content and data, then test and fix issues over several rounds before going live.
- If something is missing or unclear, ask me instead of guessing.
- For safety, don't buy a server or switch the live site without my OK.

Output: The migrated site, a list of what was tested and fixed, and anything left before switching over.

You'll know it worked when: the new site matches the old one, links work, and my tools still report data.

Try this in:

Sends the Recreated prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.

The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.

Opens in a new tab. We don't see what you send.

These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.

Optional stronger version

Our rewrite with extra checks. The poster didn't test it.

Here's a task I'd like your help with. Read it all the way through before you start.

Goal: Move my website from WordPress to Wagtail without breaking anything.

Quick check first: tell me if anything below is missing or unclear.

Inputs (fill in or confirm):
- WordPress access
- Hosting
- Tools to keep working
- Content volume (pages, posts, media)

Rules:
- Inventory content, plugins and URLs.
- Migrate content and media.
- Set up redirects.
- Test thoroughly in staging.
- Keep SEO metadata and slugs.
- Plan a rollback if launch fails.
- Document how to edit content in Wagtail for my team.
- Back up the WordPress site first.
- Check forms and tools still work.
- Never switch DNS without my OK.
- Migrate to a staging site first and compare page by page with the live site.
- Keep a checklist of pages, media and forms migrated.

Checkpoint: Ask before buying hosting or switching DNS.

If you get stuck: If a plugin has no equivalent, propose options. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords.

Verify before you finish: Check all URLs resolve.

Output: Migrated site, test log and cutover plan.

Done when: the new site works and old URLs redirect.

AI tool

Claude Code

Source

Posted
by Max Ros (@xamsor)
Last checked
Method:
How we verify

https://x.com/xamsor/status/2021513354431332677

Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.

More in Migrations & upgrades

More in CodingRandom case in Coding