Local Lightning and Upgrading to WSL2

If you’re a web developer and using Windows, then WSL2 is an exciting upgrade. It’s Microsoft’s completely new Windows subsystem for Linux and comes with some pretty fantastic performance improvements. This week I upgraded from WSL v1 to v2 and hit a few roadblocks with Local Lightning. WSL v2 switched to a virtualized environment…

Experimental Stackable WordPress Mode

WordPress can be configured as a standalone site or a multisite network. Ever since I wrote about Dynamically Load WordPress Database, I kept wondering if that method could be used to create a hybrid WordPress mode. After a weekend of exploring the idea I came up with an experimental new mode which I’m calling…

Extracting Compressed Files from the Command Line

Spend enough time on the command line and your bound to memorize a few common commands like zip -r backup.zip wp-content/ and unzip backup.zip. Compressing files and extracting them is a very common task. If it was just the zip format you needed to deal with then the two commands mentioned above will get…

Performance Enhancements with Kinsta

I host over 1000 WordPress sites with Kinsta and am a huge fan of their hosting services. Performance related issues with Kinsta are almost always plugin and theme related. Kinsta support can enable New Relic’s tracking which is a great way to track down bottleneck coding issues. Dealing with coding related performance issues can…

Common WordPress Maintenance Woes

Keeping WordPress running smoothly requires some routine maintenance. Most of the time that’s easily handled by regularly installing routine updates. However in rare cases routine maintenance can be a battle. Here are top 5 common WordPress maintenance woes and how to overcome them. #1 Infrequently applying updates. You should not rely on manually installing…

Using Phpseclib Instead of Disallowed PHP exec

Many web hosts disable a handful of built-in PHP functions like exec for security sake. And for good reason. If your website would ever run harmful PHP code, having access to exec would be quite dangerous. As a developer, being able to use exec would open up many possibilities. I mean literally any command…

Preserving Customizer Settings

Most themes utilize the WordPress Customizer in order to config and setup the website. Unfortunately, many of these settings are specific to whichever theme you are using. That means if you activate a new theme, you have to start over with fresh settings. There is no good import/export functionality. There is one exception where…

Self-hosting Jitsi Meet with Digital Ocean

Video conferencing usage is increasing exponentially. Google Hangouts has been my preferred tool however Google’s plans to phase it out in favor of their paid product Google Meet. Meanwhile Zoom is quickly becoming a household name. I don’t mind paying for a good solution, but neither Google or Zoom have a great reputation for…

Maintenance Mode DIY Options

The WordPress.org plugin repository is filled with coming soon and maintenance mode plugins. My go-to plugin is the one created by SeedProd. However, I often don’t need all of those fancy features and prefer to just do it manually with custom code. Today I’m sharing a few DIY maintenance mode options for web developers.…

Revamping a WordPress Website with Blocksy and Block Extensions

I spent a week revamping this website, anchor.host. That involved installing a new WordPress theme, pulling over a bit of custom code from the old theme and remaking a few pages using new blocks extensions. The backend of Anchor Hosting is highly dynamic. WooCommerce Subscriptions handles hosting customer renewals. There isn’t a good workflow…