Find Slow WordPress or WooCommerce Database Queries with WP-CLI

Slow database queries can really kill the performance and user experience of your WordPress site or WooCommerce store. Most users will try Query Monitor to identify slow MySQL queries on their site which is a fantastic plugin. If you want to gather data over time you can use New Relic which is incredibly valuable. Today … Learn more…

Automating WordPress Health Checks with WP-CLI doctor Command

Your WordPress or WooCommerce store’s health is absolutely critical nowadays both in terms of performance and security. Having a slow site or one that has been defaced does not exactly demonstrate technical proficiency and inspire trust from your visitors. Generally I like to be proactive with performance and security rather than re-active which means we … Learn more…

Using WP-CLI to Scan for WordPress Security Vulnerabilities

Previously I have shown how to install WPScan on Ubuntu installation guide (for Ubuntu 16.04) and debian but what if you want to scan locally and not remotely? Especially if a site is protected from WPScan using protection methods  that prevent enumeration or access to files that expose the WordPress theme or plugins you are using. … Learn more…

Stopping WooCommerce Batch Product Image Regeneration with WP-CLI

Recently I was working on a very large WooCommerce store trying to find out why it was so slow. As part of the troublshooting process I switched themes and then noticed the load on the debugging server went insanely high. After a Google search I learned that WooCommerce will automatically regenerate all product image thumbnails … Learn more…

Install and Use WPScan on Ubuntu 18.04

WPScan is a WordPress vulnerability scanner created in the Ruby language. Sucuri sponsors this project and it is hosted open source on github.  WPScan uses Sucuri’s vulnerability database for WordPress core, plugins and themes it creates a report on your site’s known security vulnerabilities which could be exploited by a hacker or script kiddie. Install … Learn more…