Category Uncategorized

Backblaze B2 as a Time Machine Backup

I recently switched over to Backblaze B2 to store my website backups, and it’s been a great experience. Each B2 bucket has its own lifecycle rules which determines how long to keep previous file versions. My backup B2 bucket is configured…

Export certain posts with WP-CLI

Did you know it’s possible to export certain posts using WP-CLI? I didn’t, but a big thanks to Daniel Bachhuber for pointing me in the right direction. That led to my first contribution back to the WP-CLI project which makes me…

Safely Remove Dates from WordPress Permalinks

I’m not sure if this is a growing trend, but I recently decided to drop the dates from my blog post URLs. Previously I was using the day and name format /2017/12/12/identifying-bottleneck-plugins/ to the post name format This was not…

Exploring Fathom Analytics

In terms of web analytics, Google Analytics dominates. I’ve tried some of the open source alternatives (see below from wiki) however I haven’t been very impressed. Most of them are difficult to use. In fact, only two of them work as…

WordPress Maintenance Mode over SSH

WordPress has a built in maintenance mode. You’ve most likely seen it at some point while updating WordPress, themes or plugins. While meant to protect WordPress from itself while doing something critical, it’s also useable for other situations where you…

The Best Migrations Happen Between Servers

I regularly migrate WordPress sites. As such I’m always looking for the quickest and simplest way to handle the migration. Recently I’ve been handling all of my migrations directly between servers using SSH. This will be a rough overview of…

Resolving Common Errors when Switching to HTTPS

For most people, switching a WordPress site from http to https is possible with just a few clicks. That’s a big thanks Let’s Encrypt, which is being widely adopted by many popular web hosting companies. That said, there can be a…

Easily Manage Redirections within WordPress

Most WordPress-specific host providers will have some sort of hosting dashboard to manage website redirections. These pages allow you to directly configure the web server rules (Apache and/or NGINX). WP Engine and Kinsta make this fairly straightforward to use as…

Querying ACF Relationship Fields using REGEXP

Advanced Custom Fields relationships are pretty amazing. You can easily manage relationships between virtually anything. The official ACF docs on querying relationship fields is a fantastic walkthrough showing how to handle the front-end display of basic relationships. It works by using…