Copied to clipboard

Flag this post as spam?

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


  • Amigo 243 posts 568 karma points
    Apr 30, 2014 @ 19:16
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 30, 2014 @ 20:00
    Jan Skovgaard
    0

    Hi Amigo

    Are all of those url's indexed by Google? If not then I don't think you have an issue...

    /Jan

  • Amigo 243 posts 568 karma points
    Apr 30, 2014 @ 20:40
    Amigo
    1

    Hi Jan,

    Hmmm you might be right, but I found some things to do that helps this issue:
    In the UrlRewriting.config I inserted:

     <add name="SEO | Trim .aspx for directory URLs"redirect="Application"redirectMode="Permanent"virtualUrl="^/(?![0-9]+.aspx)(?!umbraco/)(.*).aspx$"rewriteUrlParameter="ExcludeFromClientQueryString"destinationUrl="/$1"ignoreCase="true" />

       <add name="seoCanonical"

                virtualUrl="http://myweb.com/(.*)"

                rewriteUrlParameter="ExcludeFromClientQueryString"

                destinationUrl="http://www.myweb.com/$1"

                redirect="Domain"

                redirectMode="Permanent"

                ignoreCase="true"/>

    /Thomas

     

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    May 06, 2014 @ 12:48
    Tim
    1

    You've got the canonicalisation rule there, you may also want to add a rule to force everything to lower case, as Google will treat different cases URLs (even if they're the same URL) as duplicate content (at least it used to, they may have updated it, but it's worth doing for consistency). Depending on whether you have Umbraco set to force the trailing slash, you may want to add a rule for that too, so that the uRLs are always consistent.

  • Amigo 243 posts 568 karma points
    May 06, 2014 @ 13:59
    Amigo
    0

    Hi Tim,

    Any examples of how to do this?

     

Please Sign in or register to post replies

Write your reply to:

Draft