Collecting Less Tracking Info

With the recent GDPR requirements, small business website owners have been left to review their business practices in order to make sure they remain compliant. Kinsta did great job at going over a lot of the practicals here:  While going through the process myself I decided in most cases it was easiest if I…

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 with unlimited file versions, which means my nightly incremental WordPress backups, in theory, should…

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 very happy 😄. Here are the docs I added. Selective exports/imports work in very specific…

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 an SEO-based decision. I simply like the clean look in the URL, and feel…

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 easy as Google Analytics with a simple copy/paste JavaScript embed. WordPress and the internet at…

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 want to change active PHP files. Using SSH you can easily enable and disable…

Introducing Quicksaves with Rollbacks

Today I’m announcing Quicksaves, which is a hosting feature I recently built. They’re essentially a daily WordPress snapshot containing only themes, plugins and version numbers. While this might seem very similar to a daily backup it solves a completely different set of problems. Backup snapshots are overkill for most situations. Let’s say you want…

Learning Vue.js as a WordPress Developer Part 1 – Getting Started

This post is part of a series called “Learning Vue.js as a WordPress Developer” Part 1 – Getting Started Part 2 – Structured PHP, Rest API and Axios Part 3 – Markdown and WordPress Embeds Part 4 – Authenticated Rest API Part 5 – Decoupled Page Template My frontend development skills are getting dated.…

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 what that looks like and why I enjoy it so much.  Step 1: Make…

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 few roadblocks when switching to https. Here are few recommendations when switching to HTTPS…