Claimed result
- 40 sites moved from WordPress to Astro, now on Cloudflare Workers with free hosting; the work took 2-3 months.
- Before: Hetzner + Plesk servers (Plesk alone $45/month, about $90/month in total); WordPress, Elementor and plugins; updates, security patches and fixing hacked sites; every SEO audit and content change done by hand in WP; mobile PageSpeed 50-70.
- After: static sites free on Workers; the only bill is $5/month for the Cloudflare email sender (one subscription for all domains, not per domain); no WordPress, plugins or server to patch; mobile PageSpeed 95-100; agents work on the code and the owner approves.
- "The $90 was never the point, the hours were": the real cost was hours every month on updates, plugins, patches, hacked sites, plus SEO audits, changes and analysis done by hand.
- On organic traffic the author claims no gains: "the win so far is no servers, no plugin updates, no patching".
Proof: medium-high (real agency, precise and consistent numbers, mistakes disclosed, many technical answers in the original thread). No revenue or margin data for the agency.
The key idea
For an agency running content sites for small businesses, WordPress is a fixed cost in hours, not in hosting. By putting each site in the repo as code (pages and posts = Markdown files), agents can do all the work — changes, technical audits, reports — and the owner remains only the approval gate. The migration is one-off; updates, audits, content and hacked sites never ended.
Step-by-step playbook
1. Is it right for you? (and when to stay on WordPress)
It fits if: the site is mostly content and pages (local businesses, service pages, blogs, contact forms); clients ask for changes more than they edit themselves; you want the whole site as code in one repo for agents to work on; you're done with plugin updates and patch nights. Think twice if: you run WooCommerce (that means WordPress again); the client needs a store dashboard. Their e-commerce sites use Sanity or Payload as CMS for products and orders; the next one will be Astro with a Shopify backend, because the client wants the Shopify dashboard and products sync with another full Shopify store.
2. Why Astro
- It is a static site framework, not a service: you build the site and host it where you want (here Cloudflare Workers).
- Next is good for apps; for content sites Astro is lighter. Plain HTML is fine for small sites; with a blog, in Astro a post is a file and pages are generated with content collections (even custom post types become content collections).
- The repo is the point: even WordPress and Elementor now have some MCP, but updates and messy Elementor code aren't worth the pain; with Astro every piece of the site is code in the repo, so agents control all of it.
3. The migration in 7 steps (the order used)
- Audit every site before touching it: SEO audit; content audit (what stays and what goes); many dead pages removed with 301s ("like a fresh start for each site"); save the actual 301s to a CSV; save the sitemap.xml for the final check. Agents do the technical audits: "AI does a better technical audit than a human, but always double check".
- Pull the content out of WordPress: every page and post comes out before building anything; every post becomes a Markdown file in the repo ("1,000 blogs is just 1,000 files"). Early on a static site exporter; then the discovery: create an app password in WordPress and connect it to the AI agent, which then pulls everything (or just give the account to the AI). The many migration repos out there didn't work: content first, then rebuild.
- Design: in Claude Code and Kimi; redesign and CRO where needed; some sites kept the same, others came out much better.
- Build and test in Astro: agents build each site in Astro, static pages, no plugins; development and testing in VS Code, Cursor or Orca; if a plugin is needed Codex or Opus builds it; test every site before touching DNS.
- Keep the SEO: same URL structure; 301 everything that moves; some URLs changed on purpose for better ranking, with 301s from the old ones.
- Deploy to Cloudflare Workers: Workers host the sites; forms post to a small Worker and leads go into D1; each site has its own D1 for leads (free, right next to the site); leads also go into their leads system for reporting; no third-party embeds.
- Switch DNS, then cancel the old stuff: DNS site by site, not all at once; check each live; watch Search Console the first weeks; back everything up and only then cancel Hetzner servers and Plesk.
4. Pre-cutover checklist
- SEO audit done;
- content audit done, dead pages cut;
- all content pulled out, every post a file in the repo;
- URL structure kept;
- a 301 for every URL moved or cut;
- forms tested and leads landing in D1;
- the whole site tested;
- mobile PageSpeed checked;
- old site backed up;
- Search Console ready to watch.
5. How clients edit now (the most asked question)
No CMS, but a dashboard: the client logs in and asks for the change → an agent makes it → the agents check it and pass it to the owner → the owner approves and it goes live. "Nothing goes live without my yes. The human part never goes away." Most clients never edited WordPress themselves anyway. - Do you need a CMS? For most sites no: content as Markdown with content collections. Sanity on a few sites and Payload on one (the author prefers Sanity), but on the Sanity sites hardly anyone uses it. - Blog posts: a post is a file in the repo; the agent writes it, the owner approves, it's live.
6. Where the 2-3 months went, and mistakes
- Time went into: SEO and content audits on every site; design, redesign and CRO; cutting dead pages with 301s; testing every site before DNS. Some sites took a couple of hours, but they were also testing approaches and tools; doing the audits first took longer than a straight copy.
- Only problem: indexing issues on some 301s, found by the agents' technical audits ("I would never have found those myself"). Hence: watch Search Console in the first weeks after each switch.
7. How the agents fit in
- Each project has its own skills and .md files in the git repo.
- Agents open the change, the owner checks it, done; analysis and reports stay in the repo.
- Connected to tools and analytics via MCP (Plausible, GA, SEO utilities).
- They became far more useful once all the code lived in the repo: "WordPress with Elementor is a mess for agents".
8. The author's FAQ (summary)
- Astro or Hugo? Astro: content collections and all the code in one repo.
- EmDash? Not tried yet.
- A tool that migrates automatically? None works well: pull content out first, then rebuild.
- 3 months to save $90? The $90 was just Hetzner; the real cost was the hours.
- So now you pay $90 in tokens? No: hosting is free and tokens go to real work, not to keeping WordPress alive.
- Do agents deploy on their own? No, nothing goes live without approval.
- Plugins, site search? If needed, Codex or Opus builds them in Astro.
- Is every post a commit and a rebuild? The agent writes the post as a file, approval, live.
- Analytics? Plausible, GA and SEO utilities, read by agents via MCP.
- Logins and e-commerce? Their local sites have no logins; e-commerce runs on Sanity, one on Payload with Astro.
Tools and costs
| Item | Before | After |
|---|---|---|
| Servers | Hetzner + Plesk ≈ $90/month (Plesk $45) | Cloudflare Workers, free for static sites |
| Form email | — | Cloudflare email sender $5/month (one for all domains) |
| Leads | WP plugins | small Worker + D1 per site (free) + in-house leads system |
| CMS | WordPress + Elementor + plugins | Markdown in the repo; Sanity/Payload only where needed |
| Development | by hand in WP | Claude Code, Kimi, Codex, Opus; VS Code / Cursor / Orca |
| Analytics | — | Plausible, GA, SEO utilities via MCP |
| Mobile PageSpeed | 50-70 | 95-100 |
| Time | hours of maintenance every month | 2-3 months one-off, then only approvals |
Limitations
- It fits content sites; with WooCommerce or a store dashboard the author himself advises against it (or uses headless CMS/Shopify).
- No data on organic traffic, revenue or agency margin after the migration; the hours saved are not quantified.
- Dependence on Cloudflare (hosting, D1, email): "free" depends on the free plan's limits and terms.
- Clients lose the ability to edit themselves: fine if they never did, but it creates dependence on the agency (which is also the agency's revenue model).
- Migrating with 301s carries real indexing risks, as the author admits: without technical audits and monitoring, rankings can be lost.