Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

setting up iis rewrite rule to redirect not working

$
0
0

Im trying to create a rewrite redirect rule to redirect the user to a specific file hosted in the same site but served using a different domain but for some reason its not working. Ive never used the iis rewrite tool so perhaps im doing it wrong. Currently i have

<rule name="CityAndGuildsSiteMapRewrite" stopProcessing="true">

 <match url="ilm.local/(sitemap_website.xml)" />

 <action type="Redirect" url="http://cg.local/{R:1}" />

</rule>


Viewing all articles
Browse latest Browse all 2482

Trending Articles