Every WordPress site I migrate has the same thing hiding in it: 20 to 40 plugins, and the client has no idea what half of them do.
The posts, pages and images are the easy bit. The plugins are where a migration quietly goes wrong. Somebody installed a booking widget in 2019, a popup plugin that still collects emails into a list nobody checks, and a "security" plugin that is the only reason the login page has a captcha. Miss one of those and you find out three weeks after launch when the client rings you.
So before I quote or touch anything, I run a plugin audit. Here is how it works.
Step 1: get the real list
Don't trust the plugins screen screenshot the client sends you. I ask for an admin login (or a WP-CLI dump if they have a dev) and grab:
wp plugin list --fields=name,status,version,update --format=csv > plugins.csv Inactive plugins go in the list too. Half the time an "inactive" plugin left behind a shortcode that is still rendering garbage on some old page.
Then I search the content for shortcodes and blocks so I know which plugins actually show up on the front end:
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_status='publish' AND post_content REGEXP '\\[[a-z_-]+'" > shortcodes.txt Step 2: sort every plugin into one of four buckets
I hand plugins.csv and shortcodes.txt to my coding agent (Claude Code mostly, Cursor works too) with a prompt like this:
For each plugin in plugins.csv, put it in exactly one bucket: 1. GONE - only exists because it's WordPress (caching, security, backups, updates, page builders) 2. BUILD - small front end feature we rebuild in Astro (sliders, tabs, FAQ, galleries, tables) 3. PLATFORM - handled by hosting (forms, redirects, analytics, editable content) 4. KEEP-SAAS - real business tool we embed or link to (bookings, payments, events, chat) For each one write: bucket, what it does on THIS site (check shortcodes.txt), and pages affected. Flag anything you are not sure about. Do not guess. The "do not guess" line matters. Agents love to confidently say a plugin is unused. I want the flags.
What usually lands where
GONE. This is the fun bucket and it's always the biggest. Wordfence, WP Rocket, UpdraftPlus, Autoptimize, Elementor, the 3 different SEO helpers. On a static Astro site most of these just stop being a problem. No PHP, no database, no login page to brute force. I list them in the proposal anyway because "you no longer need to pay for or update these 14 plugins" is a real selling point.
BUILD. Sliders, accordions, tabs, testimonial carousels, image galleries. These are usually 30 to 80 lines of Astro each. I keep a little component folder I reuse across clients so most of this is copy, restyle, done.
PLATFORM. Contact forms, redirects, analytics and the "client wants to edit their opening hours" problem. I host client sites on novence.ai, so forms post to the hosting, redirects go in /_redirects, and the bits the client edits live in /data/*.json that they change through the /edit page. That kills Contact Form 7, Redirection, MonsterInsights and ACF in one go. I wrote seperate posts on forms and redirects if you want the detail.
KEEP-SAAS. The stuff you should not rebuild. If the client takes bookings through Calendly, SimplyBook, Square or whatever, you embed it or link it. If there is WooCommerce with 3 products, I talk to them about Stripe payment links. If there are 300 products, honestly that site probably stays on WordPress, and I tell them so. Losing a migration is better than a broken shop.
Step 3: the questions I ask the client
The audit always turns up 3 or 4 plugins where nobody knows why they exist. I send one short email:
- "Is anyone still using the newsletter popup? It has 4 signups since 2022."
- "Your events plugin has no events after March last year. Keep it?"
- "Who logs into the membership area?"
Most answers are "oh, delete that". Every one you delete is less work and less risk.
Step 4: put it in the quote
The audit becomes a table in the proposal. Plugin, bucket, what replaces it, done/not done. The client sees exactly what is going away and why, and I have a checklist my agent ticks off before the preview goes live.
My AGENTS.md has a line for it too:
Before deploy: every row in plugin-audit.md must be DONE or WONT-DO with a reason. Then the preview goes up with npx novence deploy and I click through every page from the "pages affected" column. That single step catches more bugs than anything else I do.
Lessons from about 20 of these
- The plugin the client cares about most is never the one you'd guess. Ask.
- Shortcodes in old blog posts are the #1 thing that breaks silently. Grep for them.
- Don't rebuild booking or payment systems. Ever. Embed.
- The GONE list sells the migration better than any speed score.
- If the audit says "this is really a web app", be honest and walk away from that one.
It takes me maybe an hour per site with the agent doing the sorting. Cheapest hour in the whole project.
