Enable SVG gzip Compression in nginx

SVGs are a great way to have losslessly scalable vector images. Unlike other image types like png and jpg, svgs can be gzipped to compress them even further. Gzip compression can reduce file size dramatically. For example, you can shrink SQL files so they are 10% of their original size. This tutorial will show you how … Learn more…

Batch Resize Images using Linux Command Line and Imagemagick

Large images means a large page size which means slow WordPress page load times for users. The most common culprit is image size or lack of compression. If you never had any image size restrictions or automatic resizing on your site, it can be extremely convenient to batch resize those images in Linux. This guide … Learn more…

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…

Batch Compress JPEG Images Lossless Linux Command Line

Overall page size is a critical factor for a fast website especially for mobile users. The usual suspect for making page size large for your site is the images. There are various WordPress plugins for batch optimizing jpeg and png images like TinyJPG and EWWW. This tutorial shows you how to losslessly compress all of … 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…