-
230
-
1476
-
6/6/2013
-
Norway
Hello.
I have a new customer who wants to redirect old urls to the new webstore.
This is an example of one url:
https://www.thisisadomain.net/rings/silver
This should go to /silver-rings on the new site. (I have about 120 different redirects).
Since the new website has 5 different domain bindings i need to check the domain on the redirect as well.
Does anyone know how to do this?
Thanks in advance!
-
230
-
1476
-
6/6/2013
-
Norway
Finally.
This worked:
<rule name="redirect diamonds" stopProcessing="true">
<match url="^diamonds/diamondrings" ignoreCase="true" />
<conditions>
<add input="{HTTP_HOST}" pattern="^(www.)?mywebshop.azurewebsites.net" />
</conditions>
<action type="Redirect" url="/diamondrings" redirectType="Permanent" />
</rule>