Avif & Webp not loading on multisite…
-
It is a bug that has been going on for a while… It looks for the compressed image at :
/home/xxx/public_html/wp-content/blogs.dir/123456/files/files/2020/11/capturechandail.webp
This should be
/home/xxx/public_html/wp-content/blogs.dir/123456/files/2020/11/capturechandail.webp
I used to correct it with that code :
add_filter('shortpixel_webp_image_base', 'correctBaseShortPixelWebP', 1, 1); function correctBaseShortPixelWebP($base) { return str_replace("/files/files/", "/files/", $base); }
But the filter is not active anymore and I don’t know how to fix this.
Any clue?
- The topic ‘Avif & Webp not loading on multisite…’ is closed to new replies.