Server configuration error: “rewrites_cached” for WebP Converter for Media fix
-
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]
- The topic ‘Server configuration error: “rewrites_cached” for WebP Converter for Media fix’ is closed to new replies.