Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <rule name="mygreatrule" stopProcessing="true">
- <match url="^productname" />
- <conditions logicalGrouping="MatchAll">
- <add input="{HTTP_HOST}" pattern="^(www.)?example1.com$" />
- <add input="{QUERY_STRING}" pattern="lang=(de|fr|is|es)" />
- </conditions>
- <action type="Redirect" url="https://www.example2.com/abcd/{C:1}/product/myproduct/productname" appendQueryString="false" redirectType="Permanent" />
- </rule>
- https://www.example1.com/productname/?lang=de
- https://www.example1.com/productname
Add Comment
Please, Sign In to add comment