Error codes: rewrites_not_working
I just downloaded the “Converter for Media” a few days ago.
I have carefully read the topic “Server configuration error – What to do?” and topics related to this error. But to be sure of the next adjustment I think I should submit a help request from here before continuing with the adjustment.
My configuration:
</img> WebP
</img> /upload
</img> GD
</img> via.htaccess
The configuration of my server: https://ibb.co/s2D24tM , https://ibb.co/HrPQ6fZ , https://ibb.co/Q94s821 , https://ibb.co/3BrkdCb , https://ibb.co/HxKPwwJ .
i will be very grateful for help.
]]>—
Redirects on your server are not working. Check the correct configuration for you in the plugin FAQ. If you have checked the configuration, it means that your server does not support redirects from the .htaccess file or your server configuration is not compatible with this plugin.
In this case, please contact your server administrator.
—
Error codes: path_htaccess_not_writable, rewrites_not_working
]]>I have the problem it said: Server configuration error ” Error codes: rewrites_cached ”
here the notification:
‘`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.
In this case, please contact your server administrator.
—
Error codes: rewrites_cached` ”
I am using Nginx and Cloudflare SSL.
on other site the configuration work fine if the Cloudflare SSL not activate/pause proxy on Cloudflare.
how to resolve the problem?? if i am still using Cloudflare SSL.
]]>Error codes: rewrites_cached
Check Screenshot : https://prntscr.com/26uye6c
]]>I don’t know how to contribute to plugin. I am new here, so creating a topic here.
I would like to propose improvement in wp-content/.htaccess
There are some hosting providers that use mounted root directory which I think causes mismatched DOCUMENT_ROOT in PHP and Apache (in .htaccess to be specific).
That means sometimes %{DOCUMENT_ROOT}
in .htaccess is misconfigured or different than $_SERVER['DOCUMENT_ROOT']
.
Strato.de is one example.
To fix this issue another line in .htaccess can be added in webp-converter-for-media/src/Loader/HtaccessLoader.php
that will hardcode the right DOCUMENT_ROOT in .htaccess
file. Hence fixing the rewrites_not_working
error.
Line #155 is modified and a line after that is added in current version (3.0.5).
$content .= " RewriteCond %{DOCUMENT_ROOT}${prefix_path}${path}/$1.${ext}.${format} -f [or]" . PHP_EOL;
$content .= " RewriteCond ".ABSPATH."${prefix_path}${path}/$1.${ext}.${format} -f" . PHP_EOL;
WP Fastest Cache does the same. (trac here).
– Sukhmeet
]]>”From what I can see from the wp-rocket caching configuration there is no rule which is caching HTTP requests. Also, we do not have proxy services with our hosting which can cause the issue which has come up on your end from the plugins. What I can advise currently is to get directly in touch with the plugin provider for additional insight and information, so they can narrow down the cause of the issue.”,
I disabled the Wp Rocket plugin I used after the message I received from the server support. I still kept getting the same error message. Is there a solution for me?
]]>WebP Converter for Media
Server configuration error
Redirects on your server are not working. Check the correct configuration for you in the plugin FAQ. If your configuration is correct, it means that your server does not support redirects from the .htaccess file or requests to images are processed by your server bypassing Apache.
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_not_working
]]>