.htaccess configuration for missing images
-
Hello,
I was going through the wp-content/.htaccess file rules generated by the plugin and correct me if I’m wrong, but wouldn’t the following code# WebP Realizer: Redirect non-existing webp images to webp-realizer.php, which will locate corresponding jpg/png, convert it, and deliver the webp (if possible) RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/?(.+)\.(webp)$ /wp-content/plugins/webp-express/wod/webp-realizer.php [E=DESTINATIONREL:wp-content/$0,E=WPCONTENT:wp-content,NC,L]
also match non jpg/png files?
Kind regards
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘.htaccess configuration for missing images’ is closed to new replies.