Forum Replies Created

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

    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)

    also I install add-ons “Apple Touch Icons & Splash Screen”

    Now there is such a possibility in the plugin?

Viewing 4 replies - 1 through 4 (of 4 total)