Plugin Author
ihorsl
(@ihorsl)
I guess this is because the plugin renames image files. And it’s not compatible with your site structure. I suggest now to do “Revert everything”. You will get all your images restored. And after do only “WebP duplicates generation”. And your image files won’t be renamed.
Thread Starter
rohilv
(@rohilxm)
Thank you for quick reply.
I tried reverting everything back but only 1 out of all images got reverted. I have the error log saved in case you want to check.
Luckily I had a backup and replaced the whole uploads directory.
I’ll try ‘Webp duplicates generator’. However what about the webp image rewrite rules and fallback?
Plugin Author
ihorsl
(@ihorsl)
Please, attach revert log. At least several attachments
During “WebP duplicates generation” you will get .webp image in addition to every image. For example 1.png + 1.png.webp
You won’t need any special fallback. You can simply delete .webp files.
The webp rewrite rule for .htaccess is :
###
# BEGIN Opti MozJpeg Guetzli WebP
###
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_URI} .*(jpe?g|png|gif)$
RewriteCond %{REQUEST_FILENAME}\.webp -f
RewriteRule (.*) %{REQUEST_FILENAME}\.webp [T=image/webp,E=accept:1]
</IfModule>
<IfModule mod_headers.c>
Header append Vary Accept env=REDIRECT_accept
</IfModule>
AddType image/webp .webp
###
# END Opti MozJpeg Guetzli WebP
###
-
This reply was modified 7 years, 1 month ago by
ihorsl.
-
This reply was modified 7 years, 1 month ago by
ihorsl.
Thread Starter
rohilv
(@rohilxm)
Plugin Author
ihorsl
(@ihorsl)
I have reviewed your log. Never seen such errors before. I guess the problem is you are using Windows server. I have never tried my plugin on Windows server. I am developing the plugin when I have some free time from my full time job. And it is always lack of free time. There were no donations to plugin.