Score:0

Migrating Wordpress to IIS convert .htacces to web.config

pe flag

An outside company is making a website, they are working on LAMP, there is an IIS server at our place so I have to prepare this server for the implementation. Preliminarily it has been prepared (I mean it works normally) however there is a problem with the plugin that substitutes jpg files for webp (webp-express plugin). The entire wordpress folder has an awful lot of .htaccess files ~25, most of them are almost empty so converting to web.config would not be a problem. The problem gets when, some htaccess files don't pass through URL Rewriter(that function in the panel with import roles).

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]

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]

Both of these rules return an error

<!-- The rule cannot be converted into an equivalent IIS format unsupported flags:E--> 

What will you advise to do in this situation? As a last resort, if nothing goes I will urge to change to Linux.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.