What was broken
The client's marketing site was a Vite single-page app with no server rendering. A curl against the homepage returned an empty <div id="root"></div>: every meta tag and JSON-LD block was injected client-side via a useEffect hack. AI crawlers with limited JS execution had nothing to read.
What we shipped
- Migrated the five AI-citation-worthy marketing routes to Next.js App Router with
generateStaticParams - Moved meta tags into
generateMetadata()and JSON-LD into a Server Component<script>tag - Added
app/robots.ts,app/sitemap.ts, and a same-dayllms.txtin/public
Timeline
-
3 days
PR merged: five routes now serve full server-rendered HTML on the first response, verified with
curl. - Ongoing Re-audit confirms AI engines can parse and cite the migrated pages in the next fix plan cycle.
This is what happens to every fix in your plan: named down to the file and the function, then shipped by us.