in some recent version this have problem with nginx server and other problem is change url for webp file because for example:
when i have this image:
/uploads/2023/03/LoadingLogo.png
The plugin convert this to webp and rename like this:
/uploads-webpc/uploads/2023/03/LoadingLogo.png.webp
Another problem with NGinx is when activated the “Bypassing Nginx (use when you have a problem with the bypassing_apache error)” Option in Advanced Settings tab, the image url output is wrong and changed to this:
/uploads/2023/03/LoadingLogo-optimized.png
In this url added -optimized and in the site have not found error.
You added this code :
const FILENAME_SUFFIX = ‘-optimized’;
in the “HtaccessBypassingLoader.php” file :
\webp-converter-for-media\src\Loader\HtaccessBypassingLoader.php
And when delete -optimized from this, plugin get error for nginx server and not serve webp file in frontend