Batch Install WordPress Plugins using WP-CLI Bash Script

WP-CLI is an indispensable tool for WordPress power users. Hosts, developers, system administrators probably use WP-CLI every day. It can help you automate tedious tasks like bulk plugin updates for multiple sites. I saw a post on the facebook group Advanced WordPress of a gist that installed a list of plugins in one list. This is … Learn more…

Configure WordPress wp-login + XMLRPC DDoS Protection nginx + fail2ban

I have helped many users speed up their sites by implementing server-side security to prevent XMLRPC and wp-login.php attacks. CloudFlare have blogged about XMLRPC.php as an attack vector. Basically, hacker bots scan for WordPress or WooCommerce sites and will try a senseless amount of password attempts over and over again. This can lead to your system … Learn more…

Install Memcached Object Cache for WordPress PHP7 on Ubuntu 16.04

Object cache is a way to cache transients set by plugins and themes. Default WordPress object cache uses the MySQL database which we all know can get bogged down. This led developers to seek out alternatives to store these transients elsewhere to speed up the WordPress backend experience. Redis and Memcached are two popular options … Learn more…

Automatically Back up WordPress to Dropbox with WP-CLI Bash Script

There is a crazy amount of WordPress backup plugins out there. One of my favorites is UpdraftPlus available on the repository for when I have to move sites between shared hosting accounts. When I back up my own sites from my VPS, I replicate the behavior of many plugins: package up the whole site, database … Learn more…

Block wp-login Brute Force Attacks with CloudFlare Page Rule

CloudFlare provides a free service for CDN, security and speed. Many people think CloudFlare only offers security to Business and Enterprise customers. Granted they get more security like the Web Application Firewall but free users get some basic protection from DDoS and bots. CloudFlare allows 3 custom page rules for free accounts which we can use to … Learn more…