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.
]]>Hi, I have your plugin installed on a multisite installation and it’s not loading the webp files: https://autentic.world/. The installation has multiple domains using the same wordpress installation. The converter plugin is ‘network active’ and I’ve generated all the webp files correctly.
There is also a generated htaccess file in the wp-content folder (which i’ve renamed to content) with all the rewrite rules. I’ve tested this file by adding ‘test’ as the first line, and no files from the uploads are loading then, so the server is using that htaccess file correctly. The file looks like this:
BEGIN Converter for Media ! --- DO NOT EDIT PREVIOUS LINE --- !
RewriteEngine On
RewriteOptions Inherit
RewriteCond %{QUERY_STRING} original$
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule . - [L]
RewriteCond %{HTTP_ACCEPT} image/avif
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.jpg.avif -f
RewriteRule (.+).jpg$ /content/uploads-webpc/$1.jpg.avif [NC,T=image/avif,L]
RewriteCond %{HTTP_ACCEPT} image/avif
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.png.avif -f
RewriteRule (.+).png$ /content/uploads-webpc/$1.png.avif [NC,T=image/avif,L]
RewriteCond %{HTTP_ACCEPT} image/avif
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.webp.avif -f
RewriteRule (.+).webp$ /content/uploads-webpc/$1.webp.avif [NC,T=image/avif,L]
RewriteCond %{HTTP_ACCEPT} image/avif
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.jpeg.avif -f
RewriteRule (.+).jpeg$ /content/uploads-webpc/$1.jpeg.avif [NC,T=image/avif,L]
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.jpg.webp -f
RewriteRule (.+).jpg$ /content/uploads-webpc/$1.jpg.webp [NC,T=image/webp,L]
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.png.webp -f
RewriteRule (.+).png$ /content/uploads-webpc/$1.png.webp [NC,T=image/webp,L]
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.jpeg.webp -f
RewriteRule (.+).jpeg$ /content/uploads-webpc/$1.jpeg.webp [NC,T=image/webp,L]
Header always set Cache-Control "private" Header append Vary "Accept" ! --- DO NOT EDIT NEXT LINE --- ! END Converter for Media Test.
I’ve installed the plugin on the same server for a staging site which isn’t a multisite setup, and is does work there. I don’t see any differences in that setup: https://staging.revelry.rocks/
For debugging, I’ve added a phpinfo file in the content folder of the multisite setup: https://autentic.world/content/test.php.
Any ideas?
Hello, i get a lot of errors “Backend log: PHP Warning: Trying to access array offset on value of type bool” for wp-includes/media.php and i am trying to find out where it is coming from.
Unfortunately this period is very busy on an active website and i cannot deactivate all plugins /switch theme like i would normally try although i did deactivate quite some like for caching to see if they seem to cause it, but it persists. All media/images when checking in woocommerce look normal too.
As ofcourse this plugin is installed and does things with images i was wondering if it could be the cause, and if there is for example a setting or something else i could check. thanks for your attention
]]>HI, in WP 6.7 with wp media regenerate --only-missing --yes
command a notice appears in the debug.log file:
PHP Notice: ?Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the webp-converter-for-media
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in D:...\wp\wp-includes\functions.php
on line 6114
Regards
]]>Cze??. Zauwa?y?em dzi? taki oto b??d. WP zaktualizowany do najnowszej wersji 6.7
Wy??cza?em wtyczk? WP Fastest Cache (instalowa?em 2 dni temu) ale to nic nie pomog?o. Cofn??em te? zmiany we wtyczce All-In-One Security (AIOS) – Security and Firewall które wdro?y?em dzi? rano. Niestety b??d widnieje ca?y czas a obrazy które przesy?am nie s? konwertowane do WebP
Is it possible to store the webp file in the same directory as the original file, instead of the uploads-webpc folder?
Is it possible to use the plugin only to convert images? And not use it to attempt to serve the images?
Thanks
]]>Hello,
I have converted the images to WEBP, but the images are still displayed as Type JPG.
Screenshots https://imgur.com/a/vs8ZNZg
What am I doing wrong?
]]>