Nicolas,
Here is what the server admins at HostGator responded:
In researching this issue, it appears that cPanel is still not able to fully support the installation of Apache modules required to load .webp files in EasyApache 4, though they do have experimental RPMs for this. I was curious how this might have been working on the source server, though it appears the images on the source are loading up the .jpg images rather than webp so this may have resulted after an update of the HikaShop Joomla plugins. I would recommend utilizing the .htaccess method for your sites which use this format as it does appear to work correctly and requires no change to the global Apache configuration.
They referred me to this HikaShop post:
https://www.hikashop.com/forum/install-update/897453-no-image-in-product-page-after-upgrate-to-4-1-0.html
So we added this code to the HTACCESS and it fixed the issue:
RewriteCond %{REQUEST_FILENAME} !(\.php)$
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^images\/com_hikashop\/upload/ - [L]
While I can ensure that my default HTACCESS template that I use for all sites (since I use almost the exact same setup with Joomla and Gantry 5 templates on all websites) does have this in the code, I did some further research and found this post:
Apache Htaccess for WebP
This is a little better than similar rules out there because it doesn't set a value for the webp env var, and stops RewriteEngine from continuing to loop. It also works with Google Page Speed Insights tool and is case-insensitive.
##### Apache Htaccess for WebP -- BEGIN #####
RewriteEngine On
RewriteBase /
# Does browser explicitly support webp?
RewriteCond %{HTTP_USER_AGENT} Chrome [OR]
# OR Is request from Page Speed
RewriteCond %{HTTP_USER_AGENT} "Google Page Speed Insights" [OR]
# OR does this browser explicitly support webp
RewriteCond %{HTTP_ACCEPT} image/webp [OR]
# AND does a webp image exists?
RewriteCond %{DOCUMENT_ROOT}/$1\.webp -f
# THEN send the webp image and set the env var webp
RewriteRule (.+)\.(?:jpe?g|png)$ $1.webp [NC,T=image/webp,E=webp,L]
# If REDIRECT_webp env var exists, append Accept to the Vary header
Header append Vary Accept env=REDIRECT_webp
##### Apache Htaccess for WebP -- BEGIN #####
So I tried this code instead of the one from the HIkaShop post but it didn't work. Now I am by no means a HTACCESS expert but it appears that this code is ensuring that the browser can serve WEBP images and, if it does, converts the image to a WEBP format. As my Chrome browser is updated, I am assuming (hate that word) that my browser can serve WEBP images so it should work but it doesn't.
I have restored the HikaShop HTACCESS code and the site is working.
My desire is to have a more 'permanent' solution at the server level so no HTACCESS changes would be required so I have some more research to do.
If you have any suggestions, let me know.
Thanks.
Luke