4 ms·
For all the (deserved) complaints people have about wordpress, it's been around since before git or markdown was even a thing. For all its faults, its been pret
by intrepidhero 6y ago
For all the (deserved) complaints people have about wordpress, it's been around since before git or markdown was even a thing. For all its faults, its been pretty resilient to time.
The real reason most websites disappear is a much more human one.
- hobofan 6y agoYes, if you constantly update your installation, which is the exact opposite of what this blog post is about. Otherwise you run a pretty good risk of your installation being hijacked, overtaken by spam bots or similar after a few years.
- freedomben 6y agoYep. I run a few WordPress sites and the amount of maintenance with them is crazy. The plugin model makes maintenance brutal too since it's all independent devs with different release cycles, testing practices, etc.
- spurgu 6y agoFollowing the philosophy of simple hosting + MD outlined in the OP then the WP equivalent would be something like a simple (official twenty*, or your own custom) WP theme with zero (or minimal amount of) plugins. Enable auto-updates on WP and you're done. The more plugins you use, the faster entropy kicks in without maintenance. With WP in general though I definitely agree.
- freedomben 6y agoAgreed, if you stick with the twenty* themes and keep it simple, you can get pretty far with very little maintenance. For simple sites, especially where we don't do comments, I've started using Simply Static though to just generate pre-rendered pages. All the benefits of static site builder with all the conveniences of a CMS.
- spurgu 6y agoI've had it on my TODO-list to try out that plugin, thanks for reminding me! How many sites have you tested it on, have you had any issues? I'm gonna play around with it now but what I'm mostly concerned about now is how you manage the site if you point the web server to the static directory. I made a prototype at one point where you have your actual WP site in a subdirectory, like example.com/wordpress, which is IP restricted (or behind http auth). Then you crawl that site with wget (or curl) to generate static HTML and to finish it off by search/replacing the HTML files (removing the /wordpress portion). Then you serve the static files to general users.
- spurgu 6y agoIf you happen to ever read this, I ended up with a setup similar to the hacky one I did before: - WP moved to subdirectory (WP home and siteurl changed in DB) - Static site served normally from (and generated to) webroot Just needed to add sitemaps and robots.txt to the config to be included. Workflow is super smooth. Login to example.com/wordpress/wp-admin/, view your changes at example.com/wordpress and when you're happy, publish the site through the plugin. Curious to see what kinds of issues I might be running into later on (this was just a quick test).
- 0xbadcafebee 6y agoSame story with Jenkins, the plugin ecosystem is just ridiculous. If Linux distros did the same thing with packages, Linux would be broken literally all the time.
- hisfastness 6y agoWordpress can be configured to receive automatic updates as soon as they're available. Plugins are a different story...
- freedomben 6y agoWordPress core yes, and it's pretty safe, but if you use many plugins (which most people do) that gets a lot riskier. Premium plugs are pretty safe but still I've had stuff break.
- freddie_mercury 6y agoThe kind of person whose needs would be satisfied by a static site generator doesn't seem likely to need 20 plugins, so it doesn't sound like an apples-to-apples comparison.
- freedomben 6y agoJust to be clear, 20 plugins was not my words. I don't base on number of plugins, I base on complexity personally. I mostly agree with you, but in my experience most (not all) people who are capable of using a static site generator will do so. Those who aren't comfortable with it use WordPress. I'm not slamming WordPress, just making an observation.
- juriansluiman 6y ago> The real reason most websites disappear is a much more human one. So true. I have had a blog running since 2006, all was php based back then with (html) posts inside a database. The tooling shouldn't be a problem, I switched systems several times (once every few years). Currently on Hugo with markdown posts. As long as you treat your migration carefully and take some time to migrate, every tool should suffice. It's mostly about human effort and human error when things get lost.