CASE / 20← DuanYuan中文
Legacy CMS → WordPress

Fifteen years of content,
a brand-new core

An EmpireCMS site (GBK encoding, Zend-encrypted files) rebuilt on WordPress: categories, lists, article pages, law firms and lawyer profiles matched one by one, with native WordPress editing behind it. Not a single file on the original site was written to.

3,886records migrated
1,968articles
1,748lawyer profiles
170law firms

Why not ship a static skin

The core is what had to go — not the design. So the rebuild started at the template level: left column (news, admin login, firm updates, about), main column with three paired cards (photo news / latest, statutes / industry, case reviews / procedures). Same DOM hierarchy, same stylesheet, down to the “more >” placement and date format.

Original and rebuild

Original EmpireCMS homepage

Original (EmpireCMS, GBK)

WordPress rebuild homepage

Rebuild (WordPress + hand-written PHP theme)

Feature parity

CapabilityOriginalRebuild
Category listsEmpireCMS templatesWP archives, same pagination
Article pagedate + view counterdate + read count
Firms / lawyersseparate content modelscustom post types + fields
Site searcharticles/lawyers/firmsone page, three modes
PublishingEmpireCMS adminnative WordPress editor
Media/static/d/600 MB re-hosted

How it was done

Live demo

The front end is public; “Open admin” signs you straight into the WordPress dashboard (disposable demo data — edit anything).

Physically isolated from the original: its own directory and its own SQLite database. The production site was never written to.

DuanYuan · one person’s engineering archive
A real rebuild; demo content comes from public pages.