Levdbas
4/12/2017 - 2:17 PM

verwijs domein xxx.my naar xx.com/en

verwijs domein xxx.my naar xx.com/en

<rule name="redirect .my to /en" enabled="true" stopProcessing="true">
  <match url="(^$)" ignoreCase="true" />
  <conditions>
    <add input="{HTTP_HOST}" pattern="example.my" />
  </conditions>
  <action type="Redirect" url="http://www.example.my/en/{R:1}" appendQueryString="true" />
</rule>