Writing a Dispatch API Backend Server in Go

I first encountered the programming language Go back in 2015 while making a Github issue for Rclone. Since then I’ve used tools like Fathom, gowitness, Restic and Wpress-Extractor all written in Go. Learning Go has been on my todo list for a while now. During Christmas break 🎄- the span of 2 weeks –…

Long Running Scripts Over SSH with Kinsta

I recently discovered a hidden gem with Kinsta’s SSH environment. They have a built in option for performing a background process using the screen command. Huge thanks for this tip goes to Jeff, one of Kinsta’s support engineers 🙏. Two types of SSH disconnects with Kinsta The most common type of disconnect happens due to inactivity.…

The Art of Writing a Fully Self-contained Bash Script

Bash is amazingly powerful and yet not the easiest thing to learn. When learning any new computer language it’s natural to write everything in a very long single file. As you get better with the language you start to break things out into separate files as reusable modules. Bash is no different. One exception is…

WP-CLI Only WordPress

When it comes to unique use cases for WordPress, headless WordPress is all the talk. However earlier this year I stumbled upon another unique use case for WordPress. One I haven’t seen talked about before. That is a WP-CLI only WordPress. WordPress runs just fine without being web accessible. Under this configuration all interactions…

Email Subscriptions Powered by BNFW

Since the beginning of this blog I’ve relied on Jetpack Subscriptions to send out email notifications when publishing a blog post. It’s a free, quick and easy solution for handling blog email subscriptions. That said it’s not very flexible and emails are handled by the WordPress.com infrastructure which is not something you can control.…

Restore Only WooCommerce Products From Backup

Daily backups are a necessity for any website. However performing a full site restore from backup should only be considered as a last resort. For high traffic WooCommerce sites restoring a backup means all customers orders are lost from the backup time till the restore time. Avoid performing a full site restore if possible…

Kinsta PHP Management

Coming from WP Engine, Kinsta PHP options are amazing. Each site with Kinsta can run a wide range of PHP versions from 5.6 to 7.3 beta. That said, with greater control comes additional responsibility. Here are some tips for keeping PHP up to date while managing over 250 sites on Kinsta.  Gathering current PHP…

Routine Maintenance Improvements, ManageWP Compatible

Here at Anchor Hosting, I’ve been a big user of ManageWP. ManageWP gives you a single dashboard to manage all of your WordPress sites. This is amazing if you are managing hundreds or thousands of WordPress sites. However as my number of hosting customers has grown, my reliance on ManageWP means that others can’t…

Bundling in Fathom Analytics

If you haven’t seen Fathom Analytics yet, then please do. It’s a breath of fresh air in the web analytics space, and I argue that it’s a pretty good fit for WordPress sites. They offer free and paid plans however most of what I’ll be talking about relates to their free self-managed code. Fathom now…