Viewing 14 replies - 31 through 44 (of 44 total)
  • Thread Starter iSaumya

    (@isaumya)

    Yes, I’ve updated the rules and shows rules verified successfully at the bottom.What to do now?

    Thread Starter iSaumya

    (@isaumya)

    Is there nothing to be done o fix this issue? Please brother.

    Plugin Author nosilver4u

    (@nosilver4u)

    I haven’t forgotten you, just been a busy couple of days, and I haven’t had any other ideas. Could you set me up with a test wordpress install on your webhost with full admin rights? Then send the login information via https://www.shanebishop.net/contact-me/

    Plugin Author nosilver4u

    (@nosilver4u)

    Ok, so I loaded up the EWWW IO settings page in Google Chrome, and I get the green webp image. Do you not see the same thing when using Google Chrome? Just to be clear, WebP is not supported by Firefox or Internet Explorer.

    Thread Starter iSaumya

    (@isaumya)

    Trust me I dont. Im using the latest chrome. Have you checked this on the test site I sent you? WOW! Have you changed anything at all on the test site?

    Plugin Author nosilver4u

    (@nosilver4u)

    Yes, this was on the test site you sent me, and I didn’t change a single thing from the way you had it configured. I was a bit surprised as well.

    Thread Starter iSaumya

    (@isaumya)

    Yes, I se it in the test site, but on my main site it is still red png. I will be glad if you drop me a mail and so that I can sent you the login detail of my main site and you can have a look into it by yourself. plz

    Plugin Author nosilver4u

    (@nosilver4u)

    just a quick bump to get this back to the top of my queue.

    Plugin Author nosilver4u

    (@nosilver4u)

    For the sake of other users, here is what we have found so far. There are two issues at play.
    1. If you are using WP multisite, you need to manually move the EWWW IO rules in your .htaccess file above the normal WordPress rewrite section.

    2. For Litespeed servers, you also need to make one more change to the rewrite rules if your multisite setup is using subdomains. It is necessary to add an ‘L’ to the end of this line:

    RewriteRule (.+)\.(jpe?g|png)$ %{REQUEST_FILENAME}.webp [T=image/webp,E=accept:1]

    which will then become this:

    RewriteRule (.+)\.(jpe?g|png)$ %{REQUEST_FILENAME}.webp [T=image/webp,E=accept:1,L]

    Thread Starter iSaumya

    (@isaumya)

    Thank you very much mate for helping me out from this confusing and critical issue. This thread should be pined on the top so that others can also take help from this.

    Thanks again ??

    Having issues with .webp on Safari.

    .jpeg/.webp images not showing in IOS8 or on Yosemite/Safari 8.0.2 through Cloudflare. After moving the EWWWIO rules to before the WP permalink rules and commenting out the rewrite rules (see below), the images reappear (i.e. now getting the .jpgs).

    # BEGIN EWWWIO
    <IfModule mod_rewrite.c>
    RewriteEngine On
    #RewriteCond %{HTTP_ACCEPT} image/webp
    #RewriteCond %{REQUEST_FILENAME} (.*)\.(jpe?g|png)$
    #RewriteCond %{REQUEST_FILENAME}.webp -f
    #RewriteRule (.+)\.(jpe?g|png)$ %{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 EWWWIO
    Plugin Author nosilver4u

    (@nosilver4u)

    If you have a WP multisite/network install, the EWWW rules need to be before the WP rules. However, since you are using Cloudflare, you should NOT use the rewrite rules for serving webp files. There is currently no way to serve webp properly from behind ANY CDN (working on it still).

    And finally, never post in someone else’s thread. Always start your own unless directed to look in another thread.

    Philipp

    (@philippmuenchen)

    This is such an important information that the rule has to go before the once from WordPress. It would be great if you could add it to your FAQ-Section of this Plugin. After hours I got it working as it should.

    Thank you so much for this great Plugin and your work!

    Plugin Author nosilver4u

    (@nosilver4u)

    Indeed it is, and I’ve been meaning to write up an article detailing the WebP functionality within EWWW, as there are many nuances depending on various server setups, multisite, etc. Once I do, I’ll certainly include it in the FAQ section.

Viewing 14 replies - 31 through 44 (of 44 total)
  • The topic ‘webp not working’ is closed to new replies.