Case Study / WordPress to Custom PHP CMS Migration

Launched October 30, 2026

Wholeaf

A niche e-commerce site ranking on Google since 2010, rebuilt as a fast custom PHP CMS with every URL kept and a 99–100 mobile PageSpeed score.

Results at a glance

  • 15+ years of Google rankings carried over (domain registered July 9, 2010)
  • Every URL kept or 301-redirected; no legacy page left to 404
  • Daily price and stock sync from the retailer's product feed
  • 99–100 mobile PageSpeed score
PageSpeed Insights mobile report for the Wholeaf home page: 100 Performance, 100 Accessibility, 100 Best Practices, 100 SEOEnlarge: PageSpeed Insights mobile report for the Wholeaf home page: 100 Performance, 100 Accessibility, 100 Best Practices, 100 SEO
PageSpeed Insights, mobile, wholeaf.com home page, November 6, 2026.

The goal

Replace an aging WordPress site with a faster, easier-to-manage platform without losing 15+ years of search rankings.

The site is a niche e-commerce partner site, ranking on Google since 2010, that sends traffic to an online retailer. I built the original site as an SEO project in 2010.

The challenge

Hundreds of ranking pages, a long-established URL structure, duplicate pages, and product prices and stock that had to stay in sync with the retailer.

What I built

I rebuilt the site as a custom PHP CMS with no theme or plugin overhead, kept the proven page structure exactly, and modernized only the look.

  • SEO protection: every URL from 16 months of Search Console data, plus WordPress's automatic URLs (feeds, categories, tags, pagination), tested before launch; single-hop 301 redirects only, and real 404s
  • Eight duplicate-page pairs reviewed: duplicates merged with 301s and wrong product links fixed; the Search Console verification carried over
  • Prices and stock updated daily from the retailer's product feed; products missing from the feed can be set by hand and switch to automatic as soon as they appear
  • Retired products show a friendly "similar picks" message instead of a dead end; a weekly check flags retired items, and changes are logged on the admin dashboard
  • An admin to add and duplicate pages, products and blog posts, with per-button stock status, sales events and coupon codes
  • An image pipeline that resizes uploads, strips location data and makes WebP copies
  • A clean modern design: serif page titles, white and sage with leaf green and ochre accents, click-to-play YouTube placeholders, fully mobile-optimized with tap-to-call

The outcome

Launched October 30, 2026, scoring 99–100 on mobile PageSpeed across home, category and product pages, with main content showing in under 2 seconds.

The old WordPress site was kept locked as a rollback.

Tested performance

Tested performance
MeasureGoogle's "good" markPhoneComputer
Performance score90 or higher98–100100
Main content visible2.5 s or less1.1–2.3 s0.5 s
Layout shift / blocking time0.1 / 200 ms or less0 / 0 ms0 / 0 ms
Accessibility score90 or higher98–10099–100
Best Practices score90 or higher100100
SEO score90 or higher100100

Performance score

Google's "good" mark
90 or higher
Phone
98–100
Computer
100

Main content visible

Google's "good" mark
2.5 s or less
Phone
1.1–2.3 s
Computer
0.5 s

Layout shift / blocking time

Google's "good" mark
0.1 / 200 ms or less
Phone
0 / 0 ms
Computer
0 / 0 ms

Accessibility score

Google's "good" mark
90 or higher
Phone
98–100
Computer
99–100

Best Practices score

Google's "good" mark
90 or higher
Phone
100
Computer
100

SEO score

Google's "good" mark
90 or higher
Phone
100
Computer
100

The live store shows its main content in about 1 to 2.5 seconds on a phone and in about half a second on a computer (home page and a category page). Tested November 2026 with Google PageSpeed Insights, two runs per page (a lab test; no real-visitor data yet).

Tech and skills

  • Custom PHP CMS
  • MySQL
  • WordPress migration
  • SEO migration
  • 301 redirect mapping
  • Product feed automation
  • WebP image pipeline
  • Core Web Vitals
  • Mobile-first design

Visit the live site wholeaf.com (opens in a new tab)

Want Results Like These?

Tell me about your website and what you'd like it to do. I'll reply personally.