Hi,
You are right, it doesn’t work on your site. The image requests does not get redirected to the converter. I see that you are on a [OpenResty](https://openresty.org/en/) server, which is based on Nginx. Nginx does not offer per-directory configuration (like Apache does with .htaccess files). Nginx configuration can therefore not be made automatically by the WebP Express plugin. You will have to insert Nginx rules manually.
Try inserting these rules into your Nginx configuration file (nginx.conf):
if ($http_accept ~* “webp”){
rewrite ^/(.*).(jpe?g|png)$ /wp-content/plugins/webp-express/wod/webp-on-demand.php?source=$document_root$request_uri&wp-content=wp-content&%1 break;
}
I write a bit more about that here: https://ww.wp.xz.cn/support/topic/nginx-rewrite-rules-4/
I shall soon put something in the FAQ about NGINX. And I shall also want to let the plugin itself instruct NGINX users what to do – when I get the time (it will surely help with some funding: https://www.patreon.com/rosell)
To remove the plugin, simply deactivate it first on the Plugins page, and then remove. It does take care of cleaning up
NOTE NOTE NOTE: The redirect rules posted above does NOT work, because there are illegal character “ instead of “.
THere is now a “I am on Nginx” section in the FAQ, – with correct rules