Creating WordPress Taxonomy Terms WP-CLI with Parent and Child Relationships

Using Taxonomies and hierarchies is a great way to categorize your data in WordPress. I was curious how it would be possible to automate the creation of taxonomy terms with parent terms using a WP-CLI script. This tutorial will show you how to automatically re-create your taxonomy structure with child and parent terms using WP-CLI … Learn more…

Automating WooCommerce and WordPress Updates with WP-CLI Script

WordPress and WooCommerce updates are critical nowadays. Keeping your site or store secure from the latest security exploits that may have been disclosed and reported on WPScan Vulnerability Database (see here how to install WP Scan and use it) or ThreatPress. WP-CLI can help automate the monotonous update dance of plugins, themes and WordPress core … Learn more…

Protecting wp-admin Brute Force Attacks with nginx Rate Limiting

WordPress is gaining in popularity and therefore the number of attacks specific to WordPress keep increasing. I manage servers for some political websites which get attacked relentlessly so that means I get to create new firewall rules and rate limiting directives to help keep the site running – very fun! Recently this site was being … Learn more…

Getting Started with RediSearch with WordPress and WooCommerce on Ubuntu

Redis is a key value storage system that can be configured to speed up websites and those running WordPress and WooCommerce. It is typically used as the fast storage system for WordPress and WooCommerce external object cache (using for example this plugin). But Redis has grown and become more versatile! You can actually build modules … Learn more…

Batch Deleting WooCommerce Customers with No Orders or Money Spent with WP-CLI

Working on WooCommerce is always a fun challenge. I had a client who had a ton of spam customers because where was missing security on the site. This meant he had several thousand users who were clogging up the database and mailing list! This tutorial will show you how to delete WooCommerce customers who have … Learn more…