Advanced WordPress Search Replace Database with Linux using sed

When you migrate a WordPress site or WooCommerce store to a new domain you may find some URLs or paths were not updated. Similarly when switching from http to https you may get some mixed content errors, usually this can be fixed by updating the database. Traditionally there are some plugins and scripts that help … Learn more…

WP-CLI WordPress Provision Script for New Installations

I have previously have demonstrated how WP-CLI can be used to batch install plugins. If you are on Cloudways or Siteground then you have WP-CLI access and get easily provision new installations. If you are running wplib box, VVV or something else Vagrant based you likely have WP-CLI as well. Automatically install the following on your local install … Learn more…

Remove Google Adwords gclid Query String for nginx

Using Google AdWords to gain traffic for your WordPress or WooCommerce site can increase loyal viewers and customers. You may find visitors who click your Google ad get a slower experience. Google adds a query string that looks like ?gclid=vak234kasd1312 which bypasses any caching you may have enabled. Google uses this query string for tracking, however, … Learn more…

Cache AJAX GET Requests with Cloudflare and Varnish

AJAX requests are typically used to provide dynamic content on WordPress sites and bypass cache. I have already shown how to Cache AJAX requests with Varnish to bypass PHP and MySQL for AJAX processing by storing the cache in Varnish. In my quest for maximum performance I also experimented with Cloudflare page caching for WordPress. This guide … Learn more…