Hi,
I tried excluding the following folder from convertig to WebP :
/wp-content/uploads/formidable/*
I need the plugin to stop serving WebP for files in this folder. Because these are user uploaded files via the Formidable plugin. So in the exclusions I simply added : formidable. But it’s not working.
Because it’s unclear if I need to add the full path or just a folder name, and if the child folders (there are several, created by date) are also ignored. I also tried putting “wp-content/uploads/formidable” but it’s still not working.
When I open the JPG file and hit save, it saves a WebP. This is a problem for my client who needs the actual source file to work with.
Let me know, thanks !
]]>The problem I have is that when I optimize and convert images to webp with this plugin, they end up loading on my site in the same jpg format as they were originally.New images are saved in a different folder and site images are displayed from the uploads folder itself!It is important to me that images on the site are displayed in webp format
and here is screenshot from my setting :
https://t1movie.com/wp-content/uploads/2025/03/Screenshot-2025-03-18-221059.png
In testing this, I see a failure in my network tab which appears to be the result of a request for an avif file, which we’re not yet generating because they’re only available in the pro version of the plugin. ChatGpt confirms that the htaccess rules will attempt to redirect to avif, when a browser supports it, but won’t check for the existence of the file yet.
If I modify the htaccess to remove the avif rules, then I see my webp.
So it seems like either we need to purchase the pro version, or manually alter htaccess, which seems hacky.
]]>This plugin does not serve my images through Cloudflare.
How do I revert the images to JPG/PNG and delete the webp images from my server?
]]>I uninstalled your plugin temporarily, and after uninstallation everything I upload is a blank image, and if I set the blank image as the featured image, it is broken. Reinstalling your plugin resolves the issue a few times, but it is still broken now. After reinstalling the plugin, the images have seemed to upload rarely, but when trying to add an image to my Smart Slider 3, images won’t be loaded to the slide even though they are visible rarely. Please help to fix.
Screenshots:
Screenshot 2025-03-11 191952.png – Media Library
Screenshot 2025-03-11 191816.png – Choosing item
Screenshot 2025-03-11 191842.png – Editing blank item
Using WordPress 6.7.2
Hello, I’m not quite sure why but after running the bulk image optimisation button none of my images got converted into the .webp file type. What I mean by this is, I followed the steps you gave us on how to check whether or not I was successful on optimizing my images and when I inspect element, all of the images were still loaded with the type of either “jpeg” or “png”, none were “webp”.
You can see screenshots regarding my question here.
Server configurations have been set correctly according to the example you set here. There were no error codes when the image optimization finished. I’ve purged all cache (via LiteSpeed) and have ticked the “Disable cache” under the Network console.
I’ve ticked the “Automatically convert new images when uploading to Media Library” in the plugin settings as well, but none of the newly uploaded images seemed to be successfully optimized as well. Please kindly advice, and thank you in advanced for the help.
]]>Many of my images disappeared after I installed the plugin, I need help
]]>Is it possible to convert to Avif format locally, not on your server? When I turn on the pro version, the imagick and gd methods are blocked and I have to watch the limit. I would like to do it using gd or imagick, putting a load on my server and not having a limit
]]>Hello Sir,
I am installing Converter for Media on a Cyber Panel VPS and I get this error:
rewrites_cached
And under the error logs I see this:
2025-02-13 18:06:24.387781 [INFO] [71634] Rewrite directive: bypassed.
2025-02-13 18:06:24.387820 [INFO] [71634] Invalid rewrite directive: AddType image/avif .avif
2025-02-13 18:06:24.387823 [INFO] [71634] Invalid rewrite directive: AddType image/webp .webp
2025-02-13 18:06:24.387826 [INFO] [71634] Rewrite directive: bypassed.
2025-02-13 18:06:24.387829 [INFO] [71634] Rewrite directive: bypassed.
2025-02-13 18:06:24.387831 [INFO] [71634] Invalid rewrite directive: ExpiresActive On
2025-02-13 18:06:24.387834 [INFO] [71634] Invalid rewrite directive: ExpiresByType image/avif “access plus 1 year”
2025-02-13 18:06:24.387836 [INFO] [71634] Invalid rewrite directive: ExpiresByType image/webp “access plus 1 year”
2025-02-13 18:06:24.387839 [INFO] [71634] Rewrite directive: bypassed.
2025-02-13 18:06:24.387843 [INFO] [71634] RewriteFile [/home/easytutoriel.com/public_html/wp-content/uploads-webpc/.htaccess] parsed, return 0.
Please I am using the free version how can I make this plugin work with Cyber Panel?
]]>Hi,
I see that the “Optimal” (default) conversion setting has a 85% compression rate for WEBP, but I can’t seem to find what compression percentage there is for AVIF files when selecting “Optimal”.
Could you please give me this information? I’d like to know the percentage to see once I buy the Pro version, which conversion strategy I’ll choose.
Also, will it maybe be possible in the future to set a custom compression rate WEBP and AVIF conversions? I’d like to be able to play around and tweak the percentages to best suit my clients needs depending on the graphs in this interesting article.
Thanks in advance for your help!
]]>After running the bulk conversion to change all my website’s images to webp, upon inspection they are still showing up as the originals, which is usually png. I’ve cleared the cache and still have this issue.
Anyone know what the issue could be?
]]>Hello,
I am trying to use webp images in my wordpress. I use CloudPanel and Cloudflare. I have followed your instructions and after transforming all the images, they still appear in jpg on the web.
Could you help me?
Thank you very much.
DEBUG:
https://staging.almamarket.com/wp-content/uploads/2025/02/Captura-de-pantalla-2025-02-05-a-las-11.32.03.png
https://staging.almamarket.com/wp-content/uploads/2025/02/Captura-de-pantalla-2025-02-05-a-las-11.32.12.png
https://staging.almamarket.com/wp-content/uploads/2025/02/Captura-de-pantalla-2025-02-05-a-las-11.32.20.png
https://staging.almamarket.com/wp-content/uploads/2025/02/Captura-de-pantalla-2025-02-05-a-las-11.32.35.png
https://staging.almamarket.com/wp-content/uploads/2025/02/Captura-de-pantalla-2025-02-05-a-las-11.32.45.png
Hi, using Chrome some of my converted images (afif) aren’t showed. As I can see those who are in the widget area. They are showed for a second and next dissapear. This is not true with ingognito. All it works on mozilla and edge. I think could be related to your plugin but I don’t know how to check.
I cleaned caching in cloudfloure several time but the problem persists. Could you make a check if there’is something wrong? It’s urgent. If you’ll need I can send you credentials.
]]>Hi, I have a problem with the plugin that displays this error message: “rewrites_cached”.
I’m using “LiteSpeed Cache”. Is it because of this? How can I solve the problem?
I already used this plugin on the same server a few months ago and it worked fine. Here’s the error message:
“Il semble que votre serveur utilise le cache pour les requêtes HTTP. Les règles du fichier .htaccess ou de la configuration de Nginx ne sont pas exécutées à chaque fois que l’image est chargée, mais la dernière redirection depuis le cache est effectuée.
Veuillez contacter votre support d’hébergement ou votre support CDN et envoyez-leur le message suivant :J’ai un problème avec le cache pour les requêtes HTTP sur mon site – https://www.ecole-matile.com. Cela empêche la redirection dynamique des fichiers JPEG ou PNG vers WebP ou AVIF, selon que le navigateur prend en charge ou non le format. Voici les sources potentielles de ce problème :
– le serveur ou le serveur CDN ne prend pas en charge l’en-tête HTTP “Vary: Accept” ou le gère de manière incorrecte (le cache pour les redirections ne doit pas uniquement être basé sur l’URL du fichier, mais aussi sur la valeur de l’en-tête ? Accept ? envoyée par le navigateur)
– le serveur ou le serveur CDN ne prend pas en charge l’en-tête HTTP “Cache-Control: private” ou le gère de manière incorrecte (cet en-tête devrait permettre de désactiver le cache pour les fichiers statiques sur le serveur CDN ou le serveur proxy)
– le site fonctionne sur le serveur Nginx qui ne prend pas en charge les fichiers .htaccess et toutes les étapes décrites dans nos instructions (https://url.mattplugins.com/converter-error-rewrites-cached-nginx-instruction) n’ont pas été suivies correctement
—
Codes d’erreur : rewrites_cached”
Thanks
]]>Hello,
I have tried to active your plugin but am getting this error on the plugin page:
am using a demo site as subfolder in the main domain. in my htaccess other rules have it’s working fine as well. why this plugin not working any idea?
Server configuration error
It appears that redirects on your server are not working. This means that your server configuration is not compatible with this plugin. Adapting the redirects from the .htaccess file to your server configuration is necessary for the plugin to work properly.
In this case, please,?contact us. We will try to help you.
—
Error codes:?rewrites_not_working
Hello,
We are running php8.4 fpm with your plugin and I get the following error on convertion.
We have got a paid subscription
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function WebpConverter\Conversion\Method\curl_multi_exec() in […]/wp-content/plugins/webp-converter-for-media/src/Conversion/Method/RemoteMethod.php:289
Any idea ?
]]>Hi,
I was wondering if it would be possible in the future to exclude some files from being converted depending on their file name (for example all files containing -original-
in their name should not be converted)?
Thanks in advance and thank you for this great plugin!
]]>Hi,
I just installed Your plugin and ran bulk optimization on whole Media Library. Stats says that 100% of images were converted to WebP, but I can’t find them anywhere in “uploads” directory. I ran bulk optimization after disabling “Automatic removal of files in output formats larger than the original ones” option. WebP images are also not served on website, but I work on rather custom Nginx server, so it may not work out of the box. I need to find those WebP images first to fix server configuration.
I use peepso for my site and it saves photos in a different directory than uploads, https://www.bdsmleven.nl/wp-content/peepso/groups/44178/photos/ how can I specify this directory in the plugin so that it also works?
]]>Hi,
I see that the image type in the network view is as webp type, but when I see the page code or right click to open the image in another browser the path points to the .jpg image. This loading should be done via .htaccess, right? My server runs Apache. Should I do anything else?
Best regards
Daniel
Doesn’t work on my site. Every image generates this.
500 – (https://sicurapiu.it/wp-json/webp-converter/v1/regenerate) [“/home/g1p5co2c/public_html/wp-content/plugins/zilla-likes/images/hearts.png”, “/home/g1p5co2c/public_html/wp-content/plugins/zilla-likes/images/heart_active.png”, “/home/g1p5co2c/public_html/wp-content/plugins/zilla-likes/images/heart.png”]
This is a example.
]]>ONLY REDUCE SIZE OF EXISTING IMAGES ON SERVER WITHOUT CREATING NEW FILES ?
Hello, please confirm that now this plugin only creates new files (webp) and that it’s not possible to just compress existing images on the server ?
Thank you again for the great plugin !
Hello, what happens if after conversion I uninstall the plugin ? WebP images will stay on server but won’t be displayed on visitors screen ? So the plugin must remain activated ? Thank you for the great work, review posted !
]]>As the title says, it doesn’t appear to be working when RocketCDN is enabled.
Any idea how to make it work?
FYI RocketCDN is basically BunnyCDN as I understand
]]>Hello,
I’m currently using the WebP Converter plugin and have encountered an issue with proxy configurations. My WordPress setup uses proxy settings defined in the wp-config.php
file, like this:
if (!empty($_SERVER['http_proxy'])) {
@list($proxy_host, $proxy_port) = explode(':', $_SERVER['http_proxy']);
define('WP_PROXY_HOST', $proxy_host);
define('WP_PROXY_PORT', $proxy_port ?? 3128);
}
These settings work seamlessly for WordPress’s HTTP API calls via wp_remote_get()
and similar functions. However, the plugin’s PassthruExecutionDetector
class uses raw cURL requests (e.g., in the if_passthru_execution_allowed()
method), which bypass these proxy settings.
Issue:
The plugin does not use the proxy settings for its cURL requests, resulting in blocked outbound connections in environments that require a proxy.
Proposed Solution:
Please consider updating the if_passthru_execution_allowed()
method (or similar parts of the plugin) to include support for proxy settings. For instance:
if (defined('WP_PROXY_HOST') && defined('WP_PROXY_PORT')) {
curl_setopt($ch, CURLOPT_PROXY, WP_PROXY_HOST);
curl_setopt($ch, CURLOPT_PROXYPORT, WP_PROXY_PORT);
if (defined('WP_PROXY_USERNAME') && defined('WP_PROXY_PASSWORD')) {
curl_setopt($ch, CURLOPT_PROXYUSERPWD, WP_PROXY_USERNAME . ':' . WP_PROXY_PASSWORD);
}
}
Request:
Thanks in advance for your help! Let me know if you need more information about my setup.
]]>Witam Serdecznie,
Odk?d aktualizowa?em do wersji profesjonalnej i przekonwertowa?em na AVIF, wydajno?? na stronie google PageSpeed Insights – z 92% spad?a do 71%. Nie wiem co si? sta?o i co mog? zrobi?. Widz?, ?e jak ?ci?gam plik to jest to plik avif, natomiast paginsight pokazuje, ?e zdj?cia ?aduje 5sekund.
]]>Remove this topic, just resolved.
]]>Hi there!
The site in question is running on a Plesk server (therefore using nginx proxy and apache).
After installing Converter for Media it took me a while to figure out the proper nginx configuration, but in the end I got rid of the server configuration error.
But when I try to start the mass conversion to webp, not a single file is converted.
I get an error 405 for every file.
405 - (https://capricorn-marketing.at/wp-json/webp-converter/v1/regenerate) ["/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/leila_mahdavian_sommerakademie-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-square.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-portrait.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_ohne_hg-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_aufgestuetzt-circle-a781be6cf79e18f1a984ce496061a815-8cq72f9xgmw1.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/ingrid_sojak_HG_transparent_fullbody-circle.png", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/bb-plugin/cache/daniela_sokyan_tober_sommerakademie-circle.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/weihnachtsstern.png", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/meta-Werbebibliothek.jpg", "/var/www/vhosts/capricorn-marketing.at/httpdocs/wp-content/uploads/2024/10/meta-Werbebibliothek-768x254.jpg"]
Browser dev tools show the following request:
The “Response” is:
{"code":"webpc_rest_api_error","message":"","data":{"status":405}}
I cannot find anything relevant in the access and error logs on the server.
Tried disabling W3 Total Cache, switching vom PHP 8.0 to 8.2, disabling the web application firewall, nothing helped.
Any idea where to look?
I attach the server configuration as shown by the plugin: screencapture-capricorn-marketing-at-wp-admin-options-general-php-2024-11-25-22_45_39.png
Thanks,
Christian
]]>Hi there, today I found out that all images in activity feed in buddyboss platform are still served in original format. How can I make this plugin work properly with BuddyBoss?
]]>The plugin works fine but when I inspect the type of my images (https://mattplugins.com/docs/how-to-test-converter-for-media-plugin), some are still in png, while they are indicated as converted in the media library. What to do? They are very small images.
]]>