Announcement

Collapse
No announcement yet.

Duplicate Pages due to related products

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Duplicate Pages due to related products

    Fellow 3dcart users,

    Looking in WMT, we found what I think to be duplicate pages. This may be a remedial issue, I apologize if it is. Anyway...if you look at this screenshot:

    Untitled-1.jpg

    You can see the first product, Moose Racing Tool Wrap, has a duplicate title error. URLs have exactly the same characters, except for case:

    Moose Racing Tool Wrap by Atomic Moto
    Moose Racing Tool Wrap by Atomic Moto

    1st URL: atomic-moto.com/Moose-Racing-Tool-Wrap_p_177.html
    2nd URL: atomic-moto.com/moose-racing-tool-wrap_p_177.html

    We looked through a site:mysite.com check, both of these pages are indexed. At a quick glance I did not know what is happening, until someone else pointed out the difference, the two versions have different related products.

    I think this can be fixed by enabling canonical URLs which I have not yet done. However, I wanted to see if there is something incorrect with the template code, or if it can be modified to not index this. Here is that section:

    <!--START: related_0-->
    <div class="youMayAlsoLike">
    <div class="youMayAlsoLikeInner">
    <table class="contents">
    <!--START: related_items0-->
    <table>
    <tr>
    <td><div class="contents-container">
    <div class="image"> <a href="product.asp?itemid=[catalogid]"><img onerror="this.style.display = 'none'" src="thumbnail.asp?file=[THUMBNAIL]&maxx=150&maxy=0" alt="[name]" border="0"></a> </div>
    <div class="name"> <a href="product.asp?itemid=[catalogid]">[name]</a> </div>
    </div></td>
    </tr>
    </table>
    <!--END: related_items0-->
    <!--START: related_items1-->
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
    <td height="160" align="center" valign="middle"><a href="product.asp?itemid=[catalogid]"><img src="thumbnail.asp?file=[THUMBNAIL]&maxx=0&maxy=150" alt="[name]" border="0"></a></td>
    </tr>
    <tr valign="middle">
    <td height="60" class="item" align="center">[name]</td>
    </tr>
    <tr>
    <td class="price" align="center" valign="middle"><!--START: ITEMPRICE-->
    [ITEMPRICE]
    <!--END: ITEMPRICE-->
    <!--START: SALEPRICE-->
    <s>[ITEMPRICE]</s><br>
    [ITEMSALEPRICE]
    <!--END: SALEPRICE--></td>
    </tr>
    <tr>
    <td class="item" align="center" valign="middle"><input type="checkbox" name="item_id" value="[catalogid]">
    <input type="hidden" name="qty-[counter]" value="1"></td>
    </tr>
    </table>
    <!--END: related_items1-->
    <!--START: related_items2-->
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
    <td class="item" align="left" width="50%"><a href="product.asp?itemid=[catalogid]">[name]</a></td>
    <td class="price" align="center" valign="middle" width="20%"><!--START: ITEMPRICE-->
    [ITEMPRICE]
    <!--END: ITEMPRICE-->
    <!--START: SALEPRICE-->
    <s>[ITEMPRICE]</s><br>
    [ITEMSALEPRICE]
    <!--END: SALEPRICE--></td>
    <td class="item" align="center" valign="middle" width="30%">
    <input type="hidden" name="item_id" value="[catalogid]">
    <input type="text" size="2" name="qty-[counter]" value="0"></td>
    </tr>
    </table>
    <!--END: related_items2-->
    </table>
    </div>
    </div>
    <div class="tabsBottom"></div>
    <!--END: related_0-->

    Is anyone else experiencing this, and does anyone have any suggestions?

    BP
    Last edited by Brtp4; 09-08-2012, 04:21 PM.

  • #2
    Xavier from 3dcart TS is ON THE CASE!!

    BP

    Comment

    Working...
    X