I do not understand very much about IIS but I am trying to do a redirect with URL rewriting. I am trying to do a redirect from http://www.cooltoys.com.au/besttoys to http://www.cooltoys.com.au/bestcooltoys
I have got the following code in my Web.config file and it doesn't work and i'm having difficulty understanding why.
<rules>
<rule name = "ToysRedirect" StopProcessing="true" />
<match url = "besttoys" />
<action type = "Redirect" url = "http://www.cooltoys.com.au/bestcooltoys" appendQueryString="true" redirectType="Permanent"/>
</rule>
</rules>
I think the problem is in the "match url" part (Pattern) so can someone please explain how to write this so it redirects correctly. Thanks, Corey