Nathaniel Lewis

Project 07 · Migration

WordPress multisite to static sites

Four domains moved off one WordPress multisite: three rebuilt in Hugo, one isolated.

  • Hugo
  • Docker
  • nginx
  • WP-CLI
  • MariaDB
  • Cloudflare Tunnel & Access

Problem

Every site carried a database, PHP and plugins it didn't need.

Approach

Verified backup, rebuilt three sites in Hugo, isolated the fourth, previewed each behind Access.

Result

Four cutovers, zero data loss, 20 of 20 pages validated.

  1. Inventoryserver-side
  2. Backupverified
  3. RebuildHugo, same URLs
  4. Cut overafter private preview

The problem

A single WordPress multisite hosted four domains. Every edit meant the admin panel, and every site carried a database, PHP and plugins it didn't need.

The approach

Inventoried every site server-side, took a verified full backup, and rebuilt three sites in Hugo with the original designs and URL aliases. Moved the remaining site to its own isolated WordPress instance with WP-CLI. Each site went live only after a private preview behind Cloudflare Access.

The result

Four cutovers, zero data loss, 20 of 20 migrated pages validated. Content updates are now a Markdown edit and a one-command rebuild. Previous architecture: github.com/Nlewis0428/wordpress-multisite-cms.