• Resolved devyatinka

    (@devyatinka)


    Hi! I generated all my img on my site. All was successful, but on the site don’t show img in WebP format. I read FAQ topic and checked my all server settings, all modules ON,if I check server configuration in plugin – all characteristics has.
    Screenshot 1 Screenshot 2
    Also, I have folder upload-webpc and all media in this folder with webp formats..
    What I can do to change situation?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter devyatinka

    (@devyatinka)

    Also, on server use combine Apache-mod_php + Nginx, maybe that important and I need to change something settings?

    Thread Starter devyatinka

    (@devyatinka)

    In my plugin settings I have checked “Pass Thru (without rewrites in .htaccess files or Nginx configuration)”, now I manually add this code

    # BEGIN WebP Converter
    # ! --- DO NOT EDIT PREVIOUS LINE --- !
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{HTTP_ACCEPT} image/webp
        RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads-webpc/$1.jpg.webp -f
        RewriteRule (.+)\.jpg$ /wp-content/uploads-webpc/$1.jpg.webp [NC,T=image/webp,L]
        RewriteCond %{HTTP_ACCEPT} image/webp
        RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads-webpc/$1.jpeg.webp -f
        RewriteRule (.+)\.jpeg$ /wp-content/uploads-webpc/$1.jpeg.webp [NC,T=image/webp,L]
        RewriteCond %{HTTP_ACCEPT} image/webp
        RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads-webpc/$1.png.webp -f
        RewriteRule (.+)\.png$ /wp-content/uploads-webpc/$1.png.webp [NC,T=image/webp,L]
    </IfModule>
    <IfModule mod_headers.c>
      Header Set Cache-Control "private"
    </IfModule>
    # ! --- DO NOT EDIT NEXT LINE --- !
    # END WebP Converter

    in .htaccess file in the /wp-content directory

    and this code:

    # BEGIN WebP Converter
    # ! --- DO NOT EDIT PREVIOUS LINE --- !
    <IfModule mod_mime.c>
        AddType image/webp .webp
    </IfModule>
    <IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType image/webp "access plus 1 year"
    </IfModule>
    <IfModule mod_headers.c>
      Header Set Cache-Control "private"
    </IfModule>
    # ! --- DO NOT EDIT NEXT LINE --- !
    # END WebP Converter

    in .htaccess file /wp-content/uploads-webpc directory

    and now nothing changed( I tried to deactive/active plugin and also nothing happened

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @devyatinka,

    Thanks for your message.

    Your screenshots are not working.

    I need configuration of your server (link to it can be found on the settings page of plugin in the section “We are waiting for your message”) – please take a screenshot of the ENTIRE page and send it to me.

    Best,
    Mateusz

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not show WebP img on Site!(’ is closed to new replies.