Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

redirect domain to different domain/page - best practises

$
0
0

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>


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>