WebP express on IIS | WordPress.org

[ad_1]

Hello,
i need to transfer wordpress from apache to iis. Aapache uses .htacces files IIS uses web.config. I have like 30 .htacces files (that i need to convert) in whole directory of wordpress but mainly i need to focus (i guess) on them in wp-content directory (uploads/webp-express). I was trying to convert them via URL Rewrite function in IIS but it giving me errors eg.
The rule cannot be converted into an equivalent IIS format because of unsupoported flags: E
RewriteRule (?i).*$ /wp-content/plugins/webp-express/wod/webp-on-demand.php [E=WE_WP_CONTENT_REL_TO_WE_PLUGIN_DIR:../../,E=WE_SOURCE_REL_HTACCESS:$0,E=WE_HTACCESS_ID:uploads,NC,L]

RewriteRule (?i)(.*)(\.jpe?g|\.png)$ /wp-content/webp-express/webp-images/uploads/%2%3\.webp [T=image/webp,E=EXISTING:1,E=ADDVARY:1,L]
How can i convert this 2 lines to web.config? Or maybe u have another idea how to configure web.config to make webp-express plugin works.

 

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