i need put this code, but , when i put, nothing happend
BEGIN SMUSH-WEBP
location ~* "wp-content/(uploads/)(..(?:png|jpe?g))" {
add_header Vary Accept;
set $image_path $2;
if (-f “/home/mydiretory/web/mydomain/public_html/wp-content/smush-webp/disable_smush_webp”) {
break;
}
if ($http_accept !~ “webp”) {
break;
}
expires max;
try_files /wp-content/smush-webp/$image_path.webp $uri =404;
}
END SMUSH-WEBP
the wp smush pro to not recognize…
ive try create a new wordpress template…put de code and nothing happend too…
gd
GD Support => enabled
GD headers Version => 2.2.5
GD library Version => 2.2.5
FreeType Support => enabled
FreeType Linkage => with freetype
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XPM Support => enabled
XBM Support => enabled
WebP Support => enabled
BMP Support => enabled
TGA Read Support => enabled