Plugin not working on multisite

[ad_1]

Hi, I have your plugin installed on a multisite installation and it’s not loading the webp files: https://autentic.world/. The installation has multiple domains using the same wordpress installation. The converter plugin is ‘network active’ and I’ve generated all the webp files correctly.

There is also a generated htaccess file in the wp-content folder (which i’ve renamed to content) with all the rewrite rules. I’ve tested this file by adding ‘test’ as the first line, and no files from the uploads are loading then, so the server is using that htaccess file correctly. The file looks like this:

BEGIN Converter for Media ! --- DO NOT EDIT PREVIOUS LINE --- !

RewriteEngine On
RewriteOptions Inherit

RewriteCond %{QUERY_STRING} original$
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule . - [L]

RewriteCond %{HTTP_ACCEPT} image/avif
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.jpg.avif -f
RewriteRule (.+).jpg$ /content/uploads-webpc/$1.jpg.avif [NC,T=image/avif,L]
RewriteCond %{HTTP_ACCEPT} image/avif
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.png.avif -f
RewriteRule (.+).png$ /content/uploads-webpc/$1.png.avif [NC,T=image/avif,L]
RewriteCond %{HTTP_ACCEPT} image/avif
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.webp.avif -f
RewriteRule (.+).webp$ /content/uploads-webpc/$1.webp.avif [NC,T=image/avif,L]
RewriteCond %{HTTP_ACCEPT} image/avif
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.jpeg.avif -f
RewriteRule (.+).jpeg$ /content/uploads-webpc/$1.jpeg.avif [NC,T=image/avif,L]

RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.jpg.webp -f
RewriteRule (.+).jpg$ /content/uploads-webpc/$1.jpg.webp [NC,T=image/webp,L]
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.png.webp -f
RewriteRule (.+).png$ /content/uploads-webpc/$1.png.webp [NC,T=image/webp,L]
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/content/uploads-webpc/$1.jpeg.webp -f
RewriteRule (.+).jpeg$ /content/uploads-webpc/$1.jpeg.webp [NC,T=image/webp,L]

Header always set Cache-Control "private" Header append Vary "Accept" ! --- DO NOT EDIT NEXT LINE --- ! END Converter for Media Test.

I’ve installed the plugin on the same server for a staging site which isn’t a multisite setup, and is does work there. I don’t see any differences in that setup: https://staging.revelry.rocks/

For debugging, I’ve added a phpinfo file in the content folder of the multisite setup: https://autentic.world/content/test.php.

Any ideas?

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer