Guest User

Untitled

a guest
Jul 19th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <rule name="mygreatrule" stopProcessing="true">
  2. <match url="^productname" />
  3. <conditions logicalGrouping="MatchAll">
  4. <add input="{HTTP_HOST}" pattern="^(www.)?example1.com$" />
  5. <add input="{QUERY_STRING}" pattern="lang=(de|fr|is|es)" />
  6. </conditions>
  7. <action type="Redirect" url="https://www.example2.com/abcd/{C:1}/product/myproduct/productname" appendQueryString="false" redirectType="Permanent" />
  8. </rule>
  9.  
  10. https://www.example1.com/productname/?lang=de
  11.  
  12. https://www.example1.com/productname
Add Comment
Please, Sign In to add comment