6 votes

Any other WordPress hosts around? Or other WordPress enthusiasts?

So I'm a very small webhost (and designer, but I'd prefer to do hosting). Not going to link myself because I'm not trying to advertise.

Because I have one client who is a designer, I find myself needing to set up development sites and then deploy those to live sites. Over the years, I've used numerous methods, but I've recently kinda started to roll my own solutions using bash scripting on my cPanel server - in part because I'm slowly discovering more and more than wpcli¹ can do.

I feel it is critically important to keep WordPress, its themes, and its plugins all up-to-date. I'm manually running a script daily on my server that automatically finds WP installations, dumps the database², and then upgrades core/themes/plugins. I'm planning to run it via cron every four hours once I write the bit of code that will remove old database dumps (older than 30 days or 7 days, haven't decided).

I'm also writing scripts that will allow me to - via the script - create a new site or dev site and deploy the user's template WordPress to a dev or live site, or deploy a dev site to the live site, along with deploying the live site back to a dev site. Basically, moving stuff around however it's needed.

Part of the reason for that is that while I've been depending on Duplicator Pro, it doesn't update all of the URLs in the database. I had been using better-search-replace for that, but that's a plugin that has to be installed, used in the Dashboard, and then removed. Figured out recently that I can use wpcli to do the search/replace (just have to tell it to do it in ALL the tables).

So basically I'm wondering if anyone else is working on such things, or wants/needs such things. I'm willing to share code, but I'm secretly hoping to maybe collaborate a little, or even just discuss it with anyone who cares since nobody I know actually cares. lol.

Although all that being said, if anyone needs fantastic WordPress hosting, hit me up. That's all I will say on that - and honestly, I'm not trying to drum up business here.

As I write things, maybe I'll write a blog post. Would there be any interest in seeing that published here? Or just post here directly. No worries if not - a lack of response will let me know that there's little to no interest. My feelings won't be hurt, no worries. I realize that this might be too specialized for interest. :)

And finally, my apologies if this is not a welcome submission. I think it'll be okay, but I have been here less than a day, although I've spent a decent amount of time browsing the site today! And I already feel enough at home here to go ahead and post this and see if there's any interest. :)


¹ a command line tool to control WordPress that's extremely powerful
² the only truly safe way to roll back changes - like troubleshooting problematic plugins

2 comments

  1. [2]
    pseudolobster
    Link
    I've used wordpress a lot. I've had to write custom themes and plugins and do a lot of hacking of existing themes and plugins. I definitely wouldn't call myself an enthusiast though. There are few...

    I've used wordpress a lot. I've had to write custom themes and plugins and do a lot of hacking of existing themes and plugins. I definitely wouldn't call myself an enthusiast though. There are few things I'm less enthusiastic about than PHP.

    I've always taken a far lower level approach than Duplicator Pro though. It's been a while, but I've just exported my SQL database, unserialized it, did a find-and-replace using a normal text editor, reserialized it, and stuffed it on another site. Never used wpcli. All these fancy powerful interfaces for dealing specifically with wordpress data are really just frontends for existing tools that work on all sites that use SQL databases. They just give them a fancy name and shiny dashboard and try to sell them for $50 on themeforest or whatever. If you can't tell, I'm more than a little cynical about the wordpress ecosystem. It's like this insulated cult that doesn't realize how close they are to understanding the underlying tech, and instead never gets their hands dirty, wants to do everything through a gui.

    Even people who write themes and plugins do so using premade frameworks where if you want to make a theme generator to generate themes, someone has made a theme generator generator, abstracting everything to hell and back, automatically creating ten layers of shim PHP files that do nothing but call a single function to call the next file. It's infuriating tbh.

    5 votes
    1. daychilde
      Link Parent
      Just to touch on wpcli — it's a free tool. Can't argue much with the rest of your comment, although I have a more positive outlook on the whole ecosystem, not that I think it's without problems...

      Just to touch on wpcli — it's a free tool. Can't argue much with the rest of your comment, although I have a more positive outlook on the whole ecosystem, not that I think it's without problems and not that I disagree totally with things you've said. In fact, I'd add that, for example, a lot of plugins are absolute crap. heh.

      2 votes