MonsterInsights Plugin Uninstall Database Cleanup with(out) WP-CLI

A number of WordPress plugins are notorious for not removing data after the plugin has been uninstalled – MonsterInsights is no exception. This can bloat the options database table. If you installed a couple of plugins to test on a site, then removed them, this can all lead to the options table growing or custom … Learn more…

Using WP-CLI to Troubleshoot Frontend WordPress Plugin and Theme Conflicts

The potential time savings for troubleshooting WordPress with WP-CLI can be incredible. Many of us have had to go through the plugin deactivation dance to isolate a conflict with a plugin and/or theme in WooCommerce or WordPress. This is an incredibly tedious task if you only use the wp-admin dashboard to deactivate each plugin one … 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 plugins … 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…