Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robert Rawson 13 posts 33 karma points
    Oct 07, 2011 @ 17:16
    Robert Rawson
    0

    301 redirects and friendly URL's etc

    currently my URL www.domain.com/ is index with google but the following pages also exist pointing to the same content

    • www.domain.com/home.aspx
    • www.domain.com/default.aspx

    I have been informed that this will hurt our SEO.  I have managed to do a rewrite rule to forward home.asp to the root domain but when i try to do the same for default.aspx it causes and infinate loop.  the code i used is

          <add name="domainRewrite"
                    virtualUrl="http://domain.com/home.aspx"
                    rewriteUrlParameter="ExcludeFromClientQueryString"
                    destinationUrl="http://domain.com/"
                    redirect="Domain"
                    redirectMode="Permanent"
                    ignoreCase="true" />

    am i able to setup redirects that point people to the root domain when they type in /default.aspx?  I am running Windows 2003 and IIS6.

    Any help would be much appreciated.

    thanks

Please Sign in or register to post replies

Write your reply to:

Draft