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…

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…