Posted on: 2/15/2013 3:09:43 AM | Views : 379

Hey guys,
I'm trying to redirect my domain name so that there is consistence and SEO to the url. I'm currently trying to redirect the following urls to a single domain name:
darvinkmanwah.com, darvinkmanwah.com/default.aspx, http://www.darvinkmanwah.com/default.aspx
... to http://www.darvinkmanwah.com

My code:
<rewrite> <rules> <rule name="301 Domain Name Redirect 01" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions> <add input="{HTTP_HOST}" pattern="darvinkmanwah.com" /> </conditions> <action type="Redirect" url="http://www.darvinkmanwah.com/{R:0}" /> </rule> </rules> </rewrite> I'm getting the following error:
The element 'syst ...

Go to the complete details ...