Autodelete Unused Inactive WordPress Themes with WP-CLI

WordPress by default comes with a theme installed so you can get started. The default WordPress theme name generally is named after the year so like this year it is twentynineteen. The default theme is also very important for troubleshooting purposes to make sure that any conflict you may be experiencing on your site with … Learn more…

How to Batch Zip Backup + Install WordPress Plugins with WP-CLI

During WordPress performance troubleshooting or malware investigation, you will often want to disable all of the plugins at some stage of your process. You may also want to back up all of the WordPress plugins as separate zip files for safekeeping just in case you lose track during the troubleshooting process. Re-installing all of the … Learn more…

How to Export Large WordPress Databases and Speed Up the Process

Anybody who has had to export large WordPress databases will tell you it can often be an arduous task. If the database server crashes while exporting, you have to start over. If phpMyAdmin times out because the PHP handler has a low time out, you have to start over. If you are using the command … Learn more…

Improving nginx Proxy + Fastcgi Page Caching Skip Cache Reasons

Many nginx users nowadays are enjoying the benefits of server side caching with a reverse proxy cache or fastcgi cache (this is what Kinsta use). I have the pleasure of working with a lot of these server configurations and sometimes you get some undesired caching behavior that you need to debug in the nginx virtual … Learn more…

Checking the Current WordPress Version via Command Line with(out) WP-CLI

There are so many ways to check the current WordPress version mainly using the graphical user interface (GUI) dashboard. Usually I am working on the command line so I prefer to be able to check without having to log in to the site. Below I show 3 different ways that you can check the current … Learn more…