• Resolved rasm411r

    (@rasm411r)


    Hello everyone

    I’ve tried to optimize my website for the past few weeks, and I finally broke the code. I have so many pictures on my site, so they were massive on the data usage, and always ended up ranking low (F-D) on gtmetrix.com etc…

    Then I found this plugin: WebP Converter for Media, and it helped a bunch!
    But then it stopped working because of this error:

    “Server configuration error
    Your server uses the cache for HTTP requests. The rules from .htaccess file or from Nginx configuration are not executed every time when the image is loaded, but the last redirect from cache is performed. With each request to image, your server should execute the rules from .htaccess file or from Nginx configuration. Now it only does this the first time and then uses cache. This means that if your server redirected image to WebP format the first time, it does so on every request. It should check the rules from .htaccess file or from Nginx configuration each time during request to image and redirect only when the conditions are met.

    If you have enabled caching HTTP reverse proxy or another HTTP caching, you must disable it. Otherwise the plugin cannot work properly. In this case, please contact your server administrator.

    Also try changing option “Image loading mode” to a different one. Issues about rewrites can often be resolved by setting this option to “Pass Thru”. You can do this in plugin settings below. After changing settings, remember to flush cache if you use caching plugin or caching via hosting.

    Error codes: rewrites_cached”

    As the plugin authors of this awesome plugin says here:
    “This is not a plugin issue, but a server configuration error detected by the plugin.”

    See the thread here:
    https://www.ads-software.com/support/topic/server-configuration-error-what-to-do/

    ——————FIIIX————

    Anyways, I fixed this by going into cloudflare.com (as I use this), and disabling Universal SLL (found under edge certificates in SSL/TLS). After disabling this, I can still use cloudflare and this awesome plugin.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @rasm411r,

    Thank you for your message.

    This is very valuable information for me. They can be very useful to other people. Are you able to take screenshots and describe what you clicked in turn?

    If so, please send “clean” screenshots without any annotations – I will provide the appropriate information on them (please describe the manual in text).

    Thread Starter rasm411r

    (@rasm411r)

    Hello @mateuszgbiorczyk

    Just after I wrote this, I noticed that my SSl-certificate wasn’t working on the site. Therefore I cannot recommend this method, as it didn’t solve my problem.
    After a long chat session with my hosting provider, I found out that it was a caching issue on Cloudflare’s side.

    My website doesn’t need a CDN anyway, but for now I’ve just bypassed it’s caching features (which almost makes CloudFlare unnecessary).

    Here is a guide to disable the cache-feature of CloudFlare, while keeping the rest going:
    https://webania.net/disable-cache-in-cloudflare/

    This fixed my issue without any other problems ??

    Thanks for a cool plugin

    Thanks for sharing this @rasm411r , you were right, CloudFlare caching was causing this.

    @rasm411r : Thank you, cloudflare caching was causing this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Server configuration error: “rewrites_cached” for WebP Converter for Media fix’ is closed to new replies.