Why do this?
If you are looking to improve performance on your website, this will automatically convert the images on your site to the more efficient WebP format. This will help with Google Lighthouse scores (especially in solving the “Serve images in next-gen format” issue).
Install the WebP Express Plugin (and buy the developer a coffee!)
Go into the WebP Express settings, accept the defaults, and click ‘Save settings’.
Verify this is working by running Google’s Lighthouse analytics. You should not see the item ‘Serve images in next-gen formats” item in your listing.
Depending on the server configuration you have, you may need to do more work after installing the WebP Express Plugin. If you see the following, you’ll need to configure your server to allow access:
SSH into the server and install the
gd using the following:
sudo apt-get install php7.2-gd
In addition, you may need to install mod_headers:
sudo a2enmod headers sudo systemctl restart apache2