Possible issue with DOCUMENT_ROOT in .htaccess
-
I installed this plugins and converted all JPG files in the upload folder. mod_rewrite works. Unfortunately the JPG files are served instead of the WEBP files.
After digging in the code I commended out this line in
.htaccess
:
RewriteCond %{DOCUMENT_ROOT}/wp-content/uploads-webpc/$1.jpg.webp -fBut what if a corresponding WEBP file doesn’t exist?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Possible issue with DOCUMENT_ROOT in .htaccess’ is closed to new replies.