Portal | Homepage | Blog

Tackling Potential Content Duplication Issues in Your WebStore


Hi David,

Thanks for the feedback. Can you provide some examples of duplication reported by your Webmaster tools please?



These are the two areas we are seeing a lot of duplicate content.


Hi David,

Adding those NitroScript code snippets in your header template as specified in the post will definitely fix the problem. One of the problems with the reported pages is that they lack a canonical URL. As I explained in the original post, the goal of canonical URLs is to inform the crawler which version of a given webpage (assuming there are many versions of the URL) should be used.

Please note that having made the necessary changes, it may take some time for the results to be reflected on your account. This is because the reports that you are seeing are not by any means live.

Hope this all makes sense now.


Hi Franklin

Thats Great thanks a mill



Hi Franklin

Its great that this can be done, Would you be able to assist when it suits



Hi David,

I have addressed this issue in this thread Webmaster Tools Errors.



Hi Francklin

I was just checking our webmaster tools and its seams that the Duplicate meta descriptions has increased up to 6000 +
White Ninja Costume: This White Ninja Costume is the perfect disguise for a true warrior and perfect

and Also the Duplicate title tags

To me it like it is seeing the same only one is in caps
Your Help would be grateful



Hi David,

The URLs with upper case are redirecting to the current version of your URLs (those with lower cases).

I would encourage you to ask Google to re-crawl those URL and see what happens. The steps to be followed are:

  1. Go to: https://www.google.com/webmasters/tools/ and log in

  2. If you haven’t already, add and verify the site with the “Add a Site” button

  3. Click on the site name for the one you want to manage

  4. Click Health -> Fetch as Google

  5. Optional: if you want to do a specific page only, type in the URL

  6. Click Fetch

  7. Click Submit to Index

  8. Select either “URL” or “URL and all linked pages”

  9. Click OK and you’re done.

Hope this helps.


Hi Franklin,

I added the canonical statements you recommended for filtered pages and for soft duplication.

However, I still need a canonical setup for all of my product pages with duplicate content. The major difference are the sizes within each brand, but the descriptions and names are mostly the same.

We were using:

…but it was affecting all of our pages throughout our site; not just the product pages as intended.

Any solution?



Hi Stan,

I will appreciate if you could provide some examples. Pages with potential content duplication are mainly products belonging to a matrix. In that case, the canonical URL is computed as follows:

1 - We use any primary item specified in PAM or
2 - The item with the lowest ID

Let us know if that answers your question please.



Hi Franclin,

Sorry about the wait on this one.

The examples you asked for are as follows:

Brand Pages which lists all of the products in the matrix HAS a canonical in the code:

Product page in the same Brand Matrix, DOES NOT HAVE a canonical in the code:

I’d like the canonicals to link back to the brand matrix page where a brand name is specified in PAM.

Does this help?



Hi Stan,

By default, a canonical url is provided on product pages. As I explained in the post, the canonical URL is either specified in PAM or taken from one of the item in the matrix (the one with the lowest ID). If you want to change the way we compute the canonical URLs then it will have to done in a custom development and will attract a quote.

On brand pages, it will be set to the current page since 2 brand pages cannot have the same URL. The reason why you are not currently seeing any canonical URL on your product pages is because of an edit made in your header template. You have to include the following code in it for it to work accordingly:

{if (pageproperty['pageid'] eq 'product')}

<link rel="canonical" href="{product['product_canonical_link']}"/>

Hope this helps,


Hi Franclin,

That makes more sense. I added the code directly below the pfs canonical statement in the header.

Can you send me instructions for changing the Canonical URL in PAM? I did not see it in the Attribute Visibility.




Hi Stan,

You can find more about that in this thread: Selecting the Default Displayed Item in a Matrix Drop-Down List



Hi Franclin,

Thanks very much for the step-by-step guide.

I used your code, and I’m having an issue where the rel=“next” tag drops the category from the URL, so the href is pointing to the second page of its parent department rather than the second page of the category.

This is the code I’ve added to our header template:

{if (pageproperty['pageid'] eq 'filtered')}
 {ifThereAre pfscanonical}
  {forEach pfscanonical}
   <link rel="canonical" href="{pfscanonical['url']}"/>
   <meta property="og:url" content="{pfscanonical['url']}"/>

{if (pageproperty['crawled_parameters_canonical_url'])}
  <link rel="canonical" href="{pageproperty['crawled_parameters_canonical_url']}"/>
  <meta property="og:url" content="{pageproperty['crawled_parameters_canonical_url']}"/>

{forEach linkdata}
  <link rel="{linkdata['rel']}" href="{linkdata['href']}"/>

Here’s an example URL where this occurs: http://www.racksforcars.com/Rack-Systems/Yakima-Q-Clips/


<link rel="next" href="http://www.racksforcars.com/Rack-Systems/?page=2"/>
<link rel="canonical" href="http://www.racksforcars.com/Rack-Systems/Yakima-Q-Clips/"/>

The “next” link URL should actually be as follows:

<link rel="next" href="http://www.racksforcars.com/Rack-Systems/Yakima-Q-Clips/?page=2"/>

Any help would be much appreciated.




Hi @tylerkrys

Thanks a million for reporting that. I will have a look at that issue and get back to you with a possible solution sometime next week hopefully. Otherwise, I agree with you that the output is not what was expected. It looks like a little bug and we will investigate that.



Thanks @franclin_foping, I’ll stay tuned.



Hi @franclin_foping,

I’ve had a play with this on our demostore and getting some funny results. I pasted the code snippets above into the header template and then looked at this page:


I see its added this:

To me they all look wrong. Is that right? Is it me?



Oops @franclin_foping, now removed the opening and closing tags so you can see what I mean:

link rel=“prev” href=“http://broughtons.demostore.nitrosell.com/store/department/2/Door-Furniture/page5.html/page4.html”/
link rel=“next” href=“http://broughtons.demostore.nitrosell.com/store/department/2/Door-Furniture/page5.html”/
link rel=“canonical” href=“http://broughtons.demostore.nitrosell.com/store/department/2/Door-Furniture/page5.html”/


Hi @emma

Thanks for reporting that issue to us.

We will look into it and get back to you in due course.