Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter skifos

    (@skifos)

    Everything is in due place: modified .htaccess and img2webp.php.

    You can send me img2webp.php. via mail:

    admin(@)mangup.su (delete, please, parentheses)

    Thread Starter skifos

    (@skifos)

    Unfortunatelly no webp files were created

    files total:0

    thereof .Xwebp:0

    Total size:0 Б

    Thread Starter skifos

    (@skifos)

    After the installation of the latest version of atec WebP some new information in the plugin window appeared, as you can see

    https://imagizer.imageshack.com/img922/3773/LLzm28.jpg

    But .webp files are not still generated

    So I disabled temporary Cloudflare caching through the page rule for the whole website.

    Now I can see:

    cf-cache-status DYNAMIC

    Check it please

    Thread Starter skifos

    (@skifos)

    It’s great that you succeeded in fixing this problem so quickly, thank you. I downloaded the zip-archive and installed it on my website. Now deactivation works properly from the WP Plugin panel.

    As for the .webp files generation I checked my wp-content/uploads/ folder through FTP and could not find any. So despite the corresponding rule in the .htaccess file and special script in /uploads/atec-webp  for some reason unclear to me they are not created.

    So please check the code in my .htaccess file, may be you will find some errors.

    #### BEGIN atec-webp

    # DO NOT EDIT THIS LINES

    <IfModule mod_mime.c>

    ?????????????? <Files *.webp>

    ????????????????????????????? Header set Vary 'Accept-Encoding'

    ????????????????????????????? AddType 'image/webp' .webp

    ?????????????? </Files>

    </IfModule>

    <IfModule mod_rewrite.c>

    ?????????????? RewriteEngine On

    ?????????????? RewriteCond %{HTTP_ACCEPT} image/webp

    ?????????????? RewriteCond %{REQUEST_URI} wp-content/uploads/.*\.(jpe?g|png|bmp|gif)$ [NC]

    ????????????????????????????? RewriteCond %{REQUEST_FILENAME}.Xwebp.webp -f

    ????????????????????????????? RewriteRule ^(.*)$ $1.Xwebp.webp [L,E=no-brotli:1,E=no-gzip:1]

    ?????????????? RewriteCond %{HTTP_ACCEPT} image/webp

    ?????????????? RewriteCond %{REQUEST_URI} wp-content/uploads/.*\.(jpe?g|png|bmp|gif)$ [NC]

    ????????????????????????????? RewriteCond %{REQUEST_FILENAME}.webp -f

    ????????????????????????????? RewriteRule ^(.*)$ $1.webp [L,E=no-brotli:1,E=no-gzip:1]

    ?????????????? RewriteCond %{HTTP_ACCEPT} image/webp

    ?????????????? RewriteCond %{REQUEST_URI} wp-content/uploads/.*\.(jpe?g|png|bmp|gif)$ [NC]

    ????????????????????????????? RewriteRule ^(.*)$ wp-content/uploads/atec-webp/img2webp.php [L,E=no-brotli:1,E=no-gzip:1]

    </IfModule>

    # END atec-webp

    # BEGIN LSCACHE

    # END LSCACHE

    # BEGIN NON_LSCACHE

    # END NON_LSCACHE

    #Begin Really Simple Security

    <IfModule mod_rewrite.c>

    RewriteEngine on

    RewriteCond %{HTTP:CF-Visitor} '"scheme":"http"'

    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/

    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

    </IfModule>

    #End Really Simple Security

    # BEGIN WordPress

    # Директивы (строки) между
    BEGIN WordPress и END WordPress

    # созданы автоматически и подлежат изменению только через фильтры WordPress.

    # Сделанные вручную изменения между этими маркерами будут перезаписаны.

    <IfModule mod_rewrite.c>

    ?????????????? RewriteEngine On

    ?????????????? RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    ?????????????? RewriteBase /

    ?????????????? RewriteRule ^index\.php$ - [L]

    ?????????????? RewriteCond %{REQUEST_FILENAME} !-f

    ?????????????? RewriteCond %{REQUEST_FILENAME} !-d

    ?????????????? RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    # Заголовки безопасности

    Header always set Strict-Transport-Security: "max-age=31536000" env=HTTPS

    Header always set Content-Security-Policy "upgrade-insecure-requests"

    Header always set X-Content-Type-Options "nosniff"

    Header always set X-XSS-Protection "1; mode=block"

    Header always set Expect-CT "max-age=7776000, enforce"

    Header always set Referrer-Policy: "no-referrer-when-downgrade"

    Header always set X-Frame-Options SAMEORIGIN

    Header always set Permissions-Policy: "self"

    # Конец заголовков безопасности
    Thread Starter skifos

    (@skifos)

    Thank you for your kindly help!

    As for the problems with the plugin:

    1) When I try to deactivate plugin in my WP plugin menu, I have the following notification:

    ?There has been a critical error on your website. Please check your site administrator’s email for instructions. If you continue to have problems, please visit the support forums?.

    No other plugin causes any problem with deactivation.

    There are only two methods to deactivate in: either manually through FTP or by complete backup from the server of my hosting provider.

    https://imagizer.imageshack.com/img924/6946/J7Yu1H.jpg

    I understand that your plugin is new, but I think it would be better to fix this problem.

    2) I tried to test the plugin om my website https://www.mangup.su

    So I activated it and connected to atecplugins.com, choosing Yes in the plugin menu.

    Then I chose WebP Active.

    As can I see rewrite rules are added to the .htaccess file and special script appeared in /uploads/atec-webp.

    I use Really Simple Security plugin, so I deactivated the rule which prevents code execution in a public folder Uploads.

    Then I purged all the cache, including Cloudflare cache.

    These are the results:

    Here are the screens:

    https://imagizer.imageshack.com/img922/1045/C9NO8t.jpg

    https://imagizer.imageshack.com/img924/2655/aglhwJ.jpg

    I checked through FTP that there are no webP files generated in my uploads folder.

    Maybe I’m doing something wrong?

    Thread Starter skifos

    (@skifos)

    The problem was resolved by checking box Anyone can register near Membership in General WP settings

    I found the same problem few days ago, though when I installed plugin it worked quite well on mobile devices. Backup for the previous version did not help.

    https://mangup.su/principality/lenta-vremeni-knyazhestvo-feodoro.html

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