Leaving WordPress for AI-powered flat PHP
-
There’s a certain type of blog post I sometimes save for later. Not because I want to re-read it right away, but because it’s worth revisiting in six months to see how things actually played out.
“Migrating PerezBox From WordPress to Flat PHP in 90 Minutes” is one of those posts.
I actually migrated perezbox.com from a full WordPress installation to a flat PHP site with zero external dependencies.
No database. No frameworks. No build tools. No package managers. No node_modules. No Composer. No plugins. Just PHP, HTML, CSS
The “I migrated away from WordPress to something simpler” post is a classic of the genre. I understand the appeal, it can be tempting. In fact, I have tried migrating away from WordPress in the past. About fifteen years ago I tried Jekyll, as a way to experiment and try something new. I came back to WordPress. Twelve years ago I tried Ghost, partly for the same reasons. I came back again. And I published another reaction post 10 years ago, responding to a post saying WordPress was doomed, static site generators were in.
I won’t try to convince you not to try alternatives to WordPress. In fact I think you should, from time to time. It’s healthy to look at what’s on the other side of the fence from time to time, it’s always a good learning experience. I do, however, think we should always be honest with ourselves about the trade-offs.
Whether it makes sense depends a lot on the type of site you’re running and how often your content or design actually needs to change. For the right project, a flat-file setup can be a good fit.
Here are a few questions I would ask, 6 months from now.
Are you still using your custom solution?
WordPress is much more than a post editor ; it’s an ecosystem. And it’s easy to underestimate everything you take for granted until it’s gone. Galleries, embedded content types, archive pages, category views, comments, all the little things that just work. And that’s not even taking plugins into consideration, and the myriad of other features they can bring to WordPress. A few months in, when you need one of those things, you’ll have to build it from scratch or accept that your site won’t support that.
WordPress comes with so many little things that come bundled with the software, we don’t even think about them. A good example may be responsive images. It may sometimes seem like bloat to see so many different image sizes generated every time you upload a new image to WordPress, but those can be useful in so many different places.
It may not be a feature you’d put in a comparison table. But it’s one of hundreds of small things the platform does for you without you ever having to think about it.
Are you still publishing?
This one matters even more to me. When your publishing flow changes, when it’s no longer a matter of opening a familiar editor (on desktop or on mobile) and hitting publish, the friction adds up. And in a lot of cases like this, people just… publish less.
That’s obviously less of an argument with AI: AI can help you with that flow, can publish / push for you, can write your posts for you. AI does change things, for building sites as much as for everything else.
Generating code has become (too?) easy. You can reinvent the wheel for every project if you want to ; no need for a library, a plugin, or a third-party service when you can just ask an AI to build you a custom one.
But it cuts both ways. You can’t say your site has “zero external dependencies” and then build your entire publishing pipeline around Claude. That is a dependency, a significant one. It’s a paid service, you don’t control it, it can unreliable at times, it can change its pricing tomorrow. You can certainly do without it and edit files the old fashioned way, but then we’re back to the problem I mentioned above. It becomes considerably harder to publish than it ever was with WordPress.
So the real questions become: once the site is live, how easy is it to maintain? If updating it requires leaning on AI every time, are you comfortable with that trade-off? Is that really simpler than what you had before, or just a different kind of complexity? Did you trade one dependency for another?
I am really curious to see what the future has in store for us, and for WordPress as a whole. I’ll check back in six months I guess 🙂