Cache WooCommerce Currency from CloudFlare GeoIP with Varnish 4

Aelia Currency Switcher for WooCommerce allows shop owners to set different currencies based on customer geolocation. This technology is known as GeoIP location detection and is provided by the MaxMind databases. Automatic currency detection based on country adds extra polish to your store, however it can add extra loading time because PHP must be used to look … Learn more…

Automatically Back up WordPress to Google Drive WP-CLI Bash Script

Previously I have shown how to upload WordPress backups to Dropbox without a WordPress backup plugin. If your site isn’t that large than Dropbox’s free limit of 2 GB may suit your needs. However, if you have a larger site then Google Drive may be a better option since you get 15 GB of space … Learn more…

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…