All workFILE 29 / 44

B2B data

A legacy PHP site rebuilt as ~500k programmatic pages

Shipped for A technographic-data company

~500k

long-tail pages from 4,132 catalog rowsTECHNOGRAPHIC-DATA COMPANY

01

The problem

A technographic-data company's marketing site ran on an aging PHP framework and a separate blog, and its long-tail search pages were hard to change.

02

The constraint

The rebuild could not lose what the old site earned: every legacy URL had to answer, the blog and the leads had to move over, and the new site could not be indexed before a deliberate cutover.

THE MACHINE

03

The system

Next.js 16 with on-demand ISR, React 19, Tailwind v4, Postgres 16 and Drizzle: ~500k pages rendered from 4,132 catalog rows (3,940 technologies, 128 geographies, 64 categories), 1,007,038 legacy URLs answered, 70 blog posts migrated, 1,470 leads preserved, and three least-privilege database roles asserted on every deploy. 126 unit tests and 2 browser suites.

FIG. 01 · SYSTEM FLOW · 7 NODES · 7 FLOWS

System diagram: 7 nodes and 7 directed flows.

  • SOURCE

    • legacy PHP site + blog
  • HUMAN

    • team review · cutover
  • ACTION

    • migration · 70 posts, 1,470 leads
    • ~500k on-demand pages
    • 1,007,038 legacy URLs answered
    • live site
  • STORE

    • catalog · 4,132 rows

FLOWS

  1. legacy PHP site + blog to migration · 70 posts, 1,470 leads
  2. migration · 70 posts, 1,470 leads to catalog · 4,132 rows
  3. catalog · 4,132 rows to ~500k on-demand pages
  4. legacy PHP site + blog to 1,007,038 legacy URLs answered
  5. ~500k on-demand pages to team review · cutover
  6. 1,007,038 legacy URLs answered to team review · cutover
  7. team review · cutover to live site, cutover
Available when animations are enabled.

THE GATE · WHERE A PERSON SIGNS OFF

04

The human in the loop

Indexing is opt-in per request and the cutover is a deliberate step a person takes after team review, so a staging build can never be indexed by accident.

MEASURED, NOT CLAIMED

05

The outcome

The rebuild is staged for team review with the local Lighthouse gate at 100 for accessibility, best practices and SEO; the live cutover is a separate, deliberate step.