Support » Plugin: Opti MozJpeg Guetzli WebP » Deletes all posts and Images

  • I tried this plugin by creating Virtual Environment on my system as suggested by plugin author and converted my website with MozJpeg (1st step). On successful conversion of all images I checked the website to realise that all my layouts and images are gone.

    The issue maybe with Plugin’s compatibility with Theme or Page Builders.
    I am using BeTheme with Muffin Builder for my website.

    Requesting the author to also mention regarding compatibility with Page Builders.

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    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 1 year, 11 months ago by ihorsl.
    • This reply was modified 1 year, 11 months ago by ihorsl.
    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deletes all posts and Images’ is closed to new replies.