Regenerate not working – Server Configuration Error
-
I have been using Webp-converter-for-media for a few months without issue.
I check for plugin updates daily and this morning I updated to version 1.4.2. The site is working fine but I cannot use the ‘Regenerate’ function.
I have a Server Configuration Error
Your server uses the cache for redirects. 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. Disable server cache for redirects. Please contact your server administrator.
_____________________________________
Nothing has changed in the server configuration. It has remained constant for at least the last month. The plugin has been working and the regenerate function has always worked.
I have use a reverse proxy setup with Nginx on the front end and Apache on the back end. Both are on separate machines.
All .htaccess files are as suggested in another thread with the same error message. Their fix eventually turned out to be an issue with a proxy and name server changes. That doesn’t apply to me as I have my own name servers and all servers are physically located here with me. No proxies, except for Nginx.
I also took out the caching directives relating to webp. Still no change.
I eventually opted for a temporary fix and disabled the error checking, related to caching, within the webp code.
That solved the problem. Regeneration completed successfully and the site is working fine after clearing the Nginx cache.
It would seem to me there is something wacky going on with the plugin. As I’ve said, everything has been working for months and the server config has been unchanged. The only difference was the plugin update to version 1.4.2.
I have half a dozen sites running the plugin and don’t look forward to my code mod for each of them.
Any help would be appreciated.
- The topic ‘Regenerate not working – Server Configuration Error’ is closed to new replies.