DEV Community

Cover image for How I price a WordPress to Astro migration (and the retainer that makes it worth it)
Linc
Linc

Posted on Edited on

How I price a WordPress to Astro migration (and the retainer that makes it worth it)

Every agency I talk to that's moving clients off WordPress hits the same wall. Not the build. The build is the easy part now, a coding agent can rebuild a brochure site in Astro in an afternoon. The wall is the quote. What do you actually charge for a migration, and how do you stop it being a one-off job that leaves you with no income next month?

Here's how I price them now. No magic formula, just the stuff that stopped me under-quoting.

All the dollar figures below are example numbers to show the structure. Plug in your own rates.

1. Quote the audit, not the site

I used to quote off the homepage. Big mistake. A site that looks like five pages can be 300 blog posts, two form plugins, a booking widget and a media library with 4,000 images in it.

So now the first thing I sell is a small fixed-price audit. My agent crawls the site and gives me:

  • page and post count (from the sitemap plus a crawl, because sitemaps lie)
  • every plugin that actually does something on the front end (forms, booking, popups, galleries)
  • media library size and how much of it is actualy used
  • current top pages from Search Console so I know what URLs can't break
  • where the DNS and email live

That audit is the basis for the quote. If they don't go ahead, they still got a useful report and I got paid for the time. Most go ahead.

2. Price in three buckets

Once I have the audit I split the job into three buckets. Clients get it straight away when it's laid out like this.

Bucket A: the rebuild. Templates, layout, design tweaks. With an agent doing the grunt work this is smaller than it used to be. Example: a 6 to 10 page brochure site might be a flat fee.

Bucket B: the content move. This scales with volume. 10 pages is nothing, 300 posts with featured images and categories is a proper job. I price this per batch, not per post, so it doesn't look scary.

Bucket C: the risky bits. Redirect map, forms, DNS cutover, anything that touches email. This is where migrations go wrong, so it's where I put margin. Clients don't argue with "this is the part that protects your Google rankings and your inbox".

Example quote shape (made up numbers):

Audit                 $300   (credited if they go ahead)
A. Rebuild            $1,800
B. Content (2 batches) $900
C. Redirects/forms/DNS $700
--------------------------------
Total                 $3,400
Enter fullscreen mode Exit fullscreen mode

The point isn't the numbers. It's that each line has a reason the client can see.

3. Don't sell hosting, sell "looking after it"

This is where most of the money is, and where I was leaving it on the table.

On WordPress the monthly fee was easy to justify: updates, plugin patches, backups, security. When you move to a static Astro site most of that just goes away. Which is great for the client, but if your retainer was "we update your plugins" you just deleted your own retainer.

So I reframed it. The monthly fee is for:

  • the site staying up, on a custom domain, with SSL sorted
  • small content changes (or the client does them themselves, more on that below)
  • form submissions landing where they should
  • a short monthly report: traffic, top pages, any 404s I fixed
  • me being the person they call

Example: a small brochure site might be $60 to $120 a month depending on how much hand holding they want. Again, your numbers.

4. Know your real cost per site

This bit is boring but it's where the margin is. If every client is on a different host, a different cPanel, a different login, your cost isn't just the hosting bill, it's your time remembering where everything lives.

I put every client site on novence.ai now. One account, one CLI, so deploying any client is the same command:

npx novence deploy
Enter fullscreen mode Exit fullscreen mode

My agent can also deploy through the MCP server, so the build, check and ship loop doesn't need me clicking around a dashboard. The hosting line on my spreadsheet is one plan spread across all the clients, so the per-site cost is small and predictable, and the rest of the retainer is basicaly margin for my time.

Rough maths I run for each client (example numbers):

Retainer           $90/mo
Hosting share       $3/mo
My time (est.)     ~30 min/mo
Enter fullscreen mode Exit fullscreen mode

If the time line creeps up, the retainer goes up next renewal. Simple.

5. Let clients edit the small stuff, and charge less for it

Counterintuitive one. I give clients a way to edit things like opening hours, prices and team bios themselves (simple JSON data files plus a passwordless edit page, no WordPress admin). I charge a bit less on the retainer for that.

Why? Because the jobs I hate are "can you change the phone number" emails at 9pm. Those are low value, high interruption. Letting them do it themselves means my retainer time goes to stuff that actually matters, and they feel in control. Churn has been way lower since.

6. Bundle the migration into the first year

The last trick: for clients who flinch at the upfront number, I offer to roll part of the migration into a 12 month retainer. Smaller deposit, slightly higher monthly for the first year, then it drops to the normal rate.

It turns a one-off project into recurring revenue, and the client gets a predictable bill. Just make sure the contract says what happens if they leave early.

What I'd tell myself a year ago

  • Charge for the audit. It qualifies the client and stops under-quoting.
  • Put margin on the risky bits, not the design.
  • Your retainer can't be "plugin updates" anymore, so make it about outcomes and being their person.
  • Keep every client on one host so your cost per site is a known number.
  • Let clients do tiny edits themselves. You'll thank yourself.

If you're pricing migrations differently I'd genuinely like to hear how, drop it in the comments.

Top comments (2)

Collapse
 
rushdeploy profile image
Rishabh Mishra •

Charging for the audit first is the part I would keep — it stops the under-quoting and gives the client something useful even if they walk away. I would put the redirect map and DNS cutover in Bucket C with its own line, since that is where a migration actually fails. One addition: a short check two weeks after launch for 404s, as broken URLs usually surface after Google recrawls.

Collapse
 
lincchad profile image
Linc •

Yeah, redirect map and DNS already sit in Bucket C for that reason, though I still bundle them with forms on the quote. Splitting them onto their own line is cleaner, I'll try that. And the two week 404 check is a good call, that's when the recrawl usualy shows the missed URLs, so it's better than waiting for the first monthly report.