Otherwise the tools I have used seem to work well. Would be great to have a comparison of their media optimization tools versus others in terms of performance. All I know is you cannot enable them on Staging.
]]>converted to WebP is larger than original and has been deleted
. https://paste.pics/CNG4N . Looks like there is no need for the plugin I guess
]]>= 2.0.0 (2020-12-16) = * <code>[Removed]</code> Filter <code>webpc_uploads_path</code> * <code>[Removed]</code> Filter <code>webpc_uploads_webp</code> * <code>[Removed]</code> Filter <code>webpc_uploads_dir</code> * <code>[Removed]</code> Filter <code>webpc_uploads_root</code> * <code>[Changed]</code> Error messages in administration panel * <code>[Added]</code> Image loading mode: <code>Pass Thru</code> (without rewrites in .htacces files or Nginx configuration) * <code>[Added]</code> Filter <code>webpc_dir_name</code> to change default directory paths * <code>[Added]</code> Filter <code>webpc_site_root</code> to change path for root installation directory of WordPress * <code>[Added]</code> Filter <code>webpc_site_url</code> to change Site URL of WordPress
and my old settings in founction.php are :
add_filter('webpc_uploads_root', function($path) { return ABSPATH; }); add_filter('webpc_uploads_path', function($path) { return 'site/assets/uploads'; }); add_filter('webpc_uploads_webp', function($path) { return 'site/assets/uploads-webpc'; }); add_filter('webpc_uploads_prefix', function($prefix) { return '/home/'; });
so now my wp-content folder is called site/assests
what i have to do after the new update ?
my website info
website: example.com
wordpress dir : example.com/home
wp-content dir changed to :example.com/home/site/assests
uploads dir is :example.com/home/site/assests/uploads
This is the error that showed up.
“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.”
I tried getting in touch with godaddy but they said I need to fix it in the backend. Is there anyway to edit the .htaccess file to make this work or even any of the .php files?
It would be great if you could make a tutorial for the same.
Thanks,
Manish