Static WordPress

I moved all of my WordPress install to a local linux machine running on my home network. It has no access to the outside world. This is the first post I’m creating on this new instance too!

I think used some inspiration from https://osric.com/chris/accidental-developer/2024/01/converting-a-wordpress-site-to-a-static-site-using-wget/ to kick off my process. Oh, and Claude helped too.

Awhile back I noticed my Ubuntu host running on Lightsail was frequently in need of restarting. After this process the only notable thing running on the instance is apache. I stopped mysql, I removed php, I cleaned up other sites, rules in my config, etc. I also don’t care who accesses it any longer (so those naughty things in my access log looking for xmlrpc.php don’t matter any longer!)

If you’ve been thinking about building up a static WordPress, I highly recommend going with it. Just a little bit of elbow grease and you’ll have a working publishing system in no time. I’ll publish my simple code to GitHub and come back to provide a link here when I do.