Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: How to implement link rel canonical

  1. #1
    doru is offline Senior Member
    Join Date
    Jan 2008
    Posts
    158

    Default How to implement link rel canonical

    Hi,

    I am using ASPDSNF v9 and I'm using 2 skins.

    I have an issue where Google is indexing a page multiple times, due to the skinid parameter. For example, Google may consider both http://www.mydomain.com/t-contact.aspx?skinid=1 AND http://www.mydomain.com/t-contact.aspx to be separate pages, when they’re actually the same page. This means that we’re being penalized by Google for having multiple duplicate pages.

    For each page, we need to tell Google to index only the true, canonical version of the URL – we can do this by inserting the “rel=canonical” tag in the <head> section of each page:

    <link rel="canonical" href="http://www.mydomain.com/current-page.aspx" />

    So if Google goes to http://www.mydomain.com/t-contact.aspx?skinid=1, the rel=canonical tag would be:

    <link rel="canonical" href="http://www.mydomain.com/t-contact.aspx" />

    Any help would be greatly appreciated!

    Thank you,
    Doru

  2. #2
    danrawk is offline Member
    Join Date
    Apr 2011
    Posts
    45

    Default

    did you ever find a solution for this? we're in the same boat. the url parameters after the product file name are causing all kinds of problems with duplicate content in our category pages with google and SEO in general.

    kind of surprised this has not been worked in yet.

    Quote Originally Posted by doru View Post
    Hi,

    I am using ASPDSNF v9 and I'm using 2 skins.

    I have an issue where Google is indexing a page multiple times, due to the skinid parameter. For example, Google may consider both http://www.mydomain.com/t-contact.aspx?skinid=1 AND http://www.mydomain.com/t-contact.aspx to be separate pages, when they’re actually the same page. This means that we’re being penalized by Google for having multiple duplicate pages.

    For each page, we need to tell Google to index only the true, canonical version of the URL – we can do this by inserting the “rel=canonical” tag in the <head> section of each page:

    <link rel="canonical" href="http://www.mydomain.com/current-page.aspx" />

    So if Google goes to http://www.mydomain.com/t-contact.aspx?skinid=1, the rel=canonical tag would be:

    <link rel="canonical" href="http://www.mydomain.com/t-contact.aspx" />

    Any help would be greatly appreciated!

    Thank you,
    Doru
    Last edited by danrawk; 06-23-2011 at 10:58 AM.

  3. #3
    danrawk is offline Member
    Join Date
    Apr 2011
    Posts
    45

    Default

    refer to this thread:

    http://forums.aspdotnetstorefront.co...licate-content

    requires a little work to get it up to MS 9.1, but should get you on your way.

    hopefully ASPDNSF will add this natively to future versions - i only see downsides to google/search engines caching string parameters in the URL