SISCON's websites ran on WordPress, PHP and MySQL. We moved them to static HTML with a small PHP 8 API for the only thing that really needs a server. It is the same method we apply to legacy systems, at a small scale: measure, separate and migrate without losing what already worked.
The starting point
Each page was assembled on the server on every visit: a theme, several plugins to keep up to date and a MySQL database queried to show content that almost never changes.
What needed a server and what didn't
The first step was the inventory. Almost the whole site was content: services, articles, contact. The only truly dynamic parts were the contact form and the newsletter subscription.
The new architecture
Pages are HTML, CSS and JavaScript with no compile step, served as is. The dynamic part lives in a PHP 8 API with separate pieces to validate, rate-limit, log and send email. MySQL stayed only for what the API stores: contact messages and double opt-in subscriptions.
One source for two domains and three languages
sisconmx.com and siscon.com.mx are built from the same code. A build script resolves the domain, email and analytics per site, so any change reaches both sites at once. Content is in Spanish, English and Portuguese, with more than 50 pages per language and reciprocal language tags.
What we took care of during the migration
Paths that changed are redirected with 301s, every page carries structured data and a sitemap with its versions in all three languages, and analytics only loads once the visitor gives consent.
What applies to your PHP system
Separating what needs a server from what doesn't usually cuts a lot of what has to be maintained. And you don't always have to leave PHP: our own API is still PHP 8. What changes is where the logic lives and how it is verified. More in Migrate from PHP.