Blog

Posting Weekly

Stackable Uses a WordPress Multitenancy Architecture

Two weekends ago I decided to start building Stackable as a WordPress plugin. This gives an interface to stacking multiple WordPress sites on a single WordPress instance as explained here. It’s currently under development and I’m pretty excited about getting this into the hands of other WordPress developers to try it out. Recently I…

HTTPS domain redirects with Netlify

Have you ever configured a domain redirect to a specific page on a website? If so then you most likely had mess with an SSL in order to get the redirection working with HTTPS. Domain redirections can be handled by domain providers, DNS providers or web host providers. If you want the domain redirection…

Powering WordPress with Gmail

Improving email deliverability from WordPress is best handled with a 3rd party service like Mailgun. That said, setting up Mailgun requires technical knowledge. You need to add new DNS verification records, verify the DNS records and then configure Mailgun’s WordPress plugin. That’s alot of work and for really basic WordPress websites. Is there an…

Email Triggers for Simple History

Getting notified when critical plugins are updated is something I sometimes get asked about after a bad plugin update takes place. While there are many ways this can be accomplished, today I’m going to show how to trigger an email notification by hooking into the Simple History plugin. Simple History is a popular plugin…

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…