web.config to mod_rewrite returning 400 Bad Request – Plesk
First time using mod_rewrite here I have this rules working on IIS: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.webServer> <rewrite> <rules> <rule name="services" stopProcessing="true"> <match url="^([a-z]+)/service/([a-zA-Z-]+)" /> <action type="Rewrite" url="serveis.php?id={R:2}&lang={R:1}"/> </rule> <rule name="categories" stopProcessing="true"> <match url="^([a-z]+)/category/([a-zA-Z-]+)" /> <action type="Rewrite" url="subhome.php?id={R:2}&lang={R:1}"/> </rule>…