Unofficial Hacker News companion — get notified on comment replies, and more.

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan (opens external site)

285 points by xadz 3 days ago | adamgreenough.net | 133 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (17)

  1. What WordPress has sold for years, that a website totally does not need someone remotely technical, was just a lie and is starting to really crumble down.

    Two Wordpress websites I built for neighbors in 2014 have always self-updated to the last version and nothing ever broke. I just bump the PHP version on their shared hosting panel. Of course strictly no third-party plugins nor themes, only slim themes I wrote at the time. The one thing Wordpress has for it is backwards compatibility, but it’s also what is slowly killing it.

    Recently I also helped a few small nonprofits I know IRL to either migrate their WP site to a statically generated site, pointing an agent at it created a perfect replica in about an hour, or just migrate everything to the last version to be able to upgrade their old PHP. Again, pointing Claude at it with a general « setup a mirror on PHP 8.5, report any breakage, upgrade anything needed and work through scripts to avoid needing excess reads » upgraded and fixed their spaghetti and tower of plugins in about 2 hours. Not going into too much technical details since everyone here knows what needs to be done but of course I made it setup a dev environment (that no one will ever use) and tests along the way.

    So it is possible. But the first step is explaining to the owners that the « buy once and let live » model was never possible to begin with and that Wordpress culture has (implicitly, nobody writes that anywhere) sold them a mirage.

    Edit : to be fair to Wordpress and don’t give them an intent, it’s more of a « small business owner » culture problem than a Wordpress culture problem, but Wordpress embraced it by never breaking anything. In the small business owner culture, paying for new features was already questionable so paying for invisible maintenance is very far-fetched.

    I’m so glad to not have anything to do with the web agency space professionally anymore.

    Replies (5)
    1. > What WordPress has sold for years, that a website totally does not need someone remotely technical, was just a lie.

      Not the only reason. When I was maintaining the website of a company I worked for, I avoided updating WordPress or any of the installed plugins as much as possible.

      It's been years since, but WordPress in particular was very, very finicky and the smallest of changes can bring an entire installation down with no easy way to fix it.

      I hated everything about WordPress, from the framework itself to the plugins, to the culture in the community.

      I've since moved to django, and it's like going from a failed state to living in a Nordic nation.

      Replies (3)
      1. > I hated everything about WordPress, from the framework itself to the plugins, to the culture in the community.

        It really used to get on my nerves the rent seeking attitude of a plugin that barely does what it promises unless I paid, and now I'm hostage.

        Replies (1)
        1. > It really used to get on my nerves the rent seeking attitude of a plugin that barely does what it promises unless I paid, and now I'm hostage.

          rent seeking vs requesting free labor.

          i don't know what's worst.

      2. Django is not directly comparable to Wordpress. Or to frame the question better, which Django-based CMS are you using?
        Replies (3)
        1. You do know that quite a few people use Wordpress as a development platform?
          Replies (2)
          1. I do, they’re still not directly comparable and my question stands. “I developed the entire site using Django templates” is a fair answer, I do know how Django originated (been using it since the 1.x days) but still doesn’t make Django’s admin for example directly comparable to Wordpress admin or author interface.
          2. Yes but typically Wordpress is used as a CMS. Particularly, a dynamic CMS, so that marketing people can push content updates without a redeploy or build.

            Other CMSes are much nicer, I like Astro. But they require build steps. For very good reasons, but, of course that doesn’t fly when non-dev people need to dynamically update the site.

        2. > which Django-based CMS are you using

          Probably Wagtail? - https://wagtail.org/

          I've never done it myself but there are some interesting WP-to-Wagtail migration guides, e.g. https://www.webbyfox.co.uk/blog/wordpress-to-wagtail-migrati... .

          Wagtail has nothing like the range of plugins which WP has but there are some out there https://github.com/wagtail/awesome-wagtail .

          The missing piece, as far as i know, is the sort of managed hosting that wordpress.com offers but that might just my ignorance.

          Replies (1)
          1. No, I don't use any CMS.

            Django is so well structured that I was able, years before LLMs, to write a small, bespoke system tailored specifically for my needs. And if I need another feature, I just add it in.

            The way Django has been created and the magnificent quality of the documentation makes this type of task a real joy.

        3. None actually.

          I find working on Django so enjoyable that I took the time to write my own, bespoke CMS on it. And that was years before LLMs made this even easier.

      3. That is such a funny metaphor, which I am going to start using.
    2. Regarding the 'tower of plugins', there be dragons!

      Imagine a simple home page carousel. You need something that has mostly CSS and about three lines of script, however, you have some 'mega carousel' plugin that uses dozens of scripts and thousands of lines of CSS. You need just one carousel but you have this plugin that does 150 types of carousel, with IE6 shims, for the lols.

      The plugin will have the lamest code, with no guard clauses, just a mountain of 'if then else' spaghetti.

      Add in a dozen other plugins of this calibre and multiply this by millions of blogs, and you have an unknown number of vulnerable websites. Sadly the plugins won, first time round, rather than bespoke development by skilled developers.

      Replies (1)
      1. Well, agents are quite good to replace those monstrosity carousels by something that will provide the tiny slice of features actually used, fetching every carousel from the 10 years of posts in DB and asserting that rendering through the new tiny plugin produces the exact same output. But it's a matter of will. Every site one by one can be upgraded and salvaged this way if someone agrees to pay at some point. One could say that the tower of plugins were a "great" way for non-technical folks to go to a desired result that can then be rebuilt in a lean way while preserving look & feel..
    3. I like statically generated sites but they offer just enough resistance to stop me from writing. For example, mobile support is rare.

      My solution is a web based editor that lets me edit my blog in 30-seconds.

      The site is statically generated by GitHub pages but the mechanics of that are all hidden. I publish a file and my blog updates a couple minutes later.

      You can try it here:

      https://edit.joeldare.com

    4. > What WordPress has sold for years, that a website totally does not need someone remotely technical, was just a lie and is starting to really crumble down.

      I agree, and I think even for technical folks, the value-to-burden ratio for Wordpress has gone into the negative. On top of the technical issues, it is now a broken fractured community with an unstable person in a position of leverage.

      This type of website is available today for small orgs, though, via hosted web platforms like Squarespace, Shopify, etc. Even as someone who competently ran self-hosted Wordpress sites for years, it’s just so much easier to pay a few hundred dollars a year and focus on design, content, marketing, etc: the stuff that actually matters for small orgs.