Let me break this down into three buckets for you - think of it like triaging a patient who's been in a coma since 2023.
1. Technical basics under the hood (Next.js & caching)
Take your homepage plus 10-20 article pages and run full speed diagnostics. You want performance at 80 minimum, and accessibility, best practices and SEO all above 95 - nothing less. Test every page type you have, and focus on mobile because that's where most of your visitors live. Now, how's your cache setup? If a newly published article takes an hour to show up on a category page, something's broken. You need to either re-cache collections on publication or fix your Next.js / Cloudflare cache options. Someone mentioned making the most of SSR - absolutely do that. Also, serve resized images for each breakpoint. One extra trick: create LLM-readable versions of your content, either as markdown files or served directly to AI crawlers.
2. The map and signposts - sitemaps, robots, redirects
Your sitemap must update automatically the second an article goes live - no delays. Run Google's diagnostics to see what's happening with internal links, backlinks, anything broken. Do you have a full list of redirects from the old site? Every old URL needs to point to the right new one. No 404s, no errors, and make sure canonical tags are in place and working.
3. Bring in the smart brain - AI-powered audit
Hook up your backend to something like Claude Code or Codex via API or MCP, depending on your setup. Pull down every page's content, SEO titles, descriptions, URLs, plus all image metadata. Run a scripted diagnosis to catch any mismatches or incorrect redirects. Doesn't matter if you have 100 pages or 10,000 - batch analyse, batch fix. Keep a local copy of your whole site so the AI can read, understand, and update everything.
After that, look at your topical coverage and internal linking structure. Fix titles, categories, the works.
Honestly, the fact this migration has been dragging on since 2023 means there's been a massive screw-up somewhere. If your agency isn't fixing it, let them go and bring in people who can. All of this technical work can and should be done in under a week.