Jump to content

Duplicate content


lynnmcdee

Recommended Posts

My website is showing some duplicate content in webmaster tools.  One of the category pages currently has 10 pages. 

 

Also, some products/pages have duplicated three times: eg correct URL, prod_798.html and .html?product_id=798.  The correct URL is currently showing on the website and when I search for that product.  But, webmaster tools is picking up other URL's for the same product.

 

How can I stop this showing as duplicate content?  

Link to comment
Share on other sites

This may be a solution. Add template code to test for the 'section' being shown. In the template file main.php (I will be using Kurouto for CC5212), add this in the <head> section:

{if $SECTION_NAME=='category'}
<meta whatever>
<meta whatever>
{/if}

Section names can be: account, category, checkout, document, download, gateway, giftcertificate, home, login, order, product, register, saleitems, and whatever any plugin mod wants to use.

Link to comment
Share on other sites

Looking at the template code, there is an existing <meta> that tells robots to follow. Plus, there may be a robots.txt file in the CubeCart top folder, but unless you change that, the only instructions is to disallow cache and images.

Link to comment
Share on other sites

Yes, there is the following in the main.php file <meta name="robots" content="index, follow" />.

 

I only want to noindex the category pages, to stop the duplicate content. 

 

The other option that has been suggested is to change the canonical!!!

 

What would you suggest? 

Link to comment
Share on other sites

Where the existing <meta> tag is, you could try:

{if $SECTION_NAME=='category'}
<meta name="robots" content="noindex, follow" />
{else}
<meta name="robots" content="index, follow" />
{/if}

Other than the above, I have nothing. I have no skills with SEO stuff.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...