I have a domain that needs to be redirected to a different site - www.domain.ca --> blogs.domain.ca/subblogsite
For best practices should I:
1)
rule name="1" patternSyntax="Wildcard" stopProcessing="true">
<match url="*" />
<conditions>
<add input="{HTTP_HOST}" pattern="www.domain.ca" />
</conditions>
<action type="Redirect" url="http://blogs.domain.ca/subblogsite" />
</rule>
or
2)
<rule name="redirect site name" stopProcessing="true">
<match url="http://www.domain.ca" />
<action type="Redirect" url="http://blogs.domain.ca/subblogsite" />
</rule>
In either model - do I need to have specific conditions for http://www.domain.ca and www.domain.ca and domain.ca
I also have the same type of question with olddomain.ca to newdomain.ca . . .
and also
domain.ca/subsite1/site/pages --> domain.ca/subsite2/site/pages . . .
</div>