[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: ERewriteRule (?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.
