X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   duplicate content on product pages with multiple pages (https://forum.x-cart.com/showthread.php?t=69587)

keystone 07-15-2014 11:49 AM

duplicate content on product pages with multiple pages
 
I am working on my 4.4.5 site uscandleco.com and use cdseo pro. One thing I am running into, and maybe it isn't a big deal, is that I get duplicate content warnings on my product pages. For example... I have 100 products in a category with 20 products per page. This breaks the category up into 5 pages. With cdseo I can assign unique metadata. However, the descriptive paragraph I have for the category is repeated on all 5 pages making a big chunk of duplicate content.

1. is that a problem?
2. is there a way to add some code that will only show the category description paragraph on the 1st page if multiple pages are present?

Thanks.

pauldodman 07-16-2014 05:52 AM

Re: duplicate content on product pages with multiple pages
 
Try something like:

{if $navigation_page eq "1"}
{$current_category.description|amp}
{/if}

keystone 07-16-2014 09:21 AM

Re: duplicate content on product pages with multiple pages
 
Thanks I'll give that a shot.

keystone 07-16-2014 10:58 AM

Re: duplicate content on product pages with multiple pages
 
Here is what I actually had to use for it to work.

Code:

  {if $current_category.description ne "" and $navigation_page < "2"}
    <div class="subcategory-descr">{$current_category.description|amp}</div>
  {/if}


if I left it as
Code:

{if $navigation_page eq "1"}
{$current_category.description|amp}
{/if}

My main categories with ONLY 1 page did not have the description. I guess that the "navigation_page for those is either 0 or nothing so they were not included.

Thanks Paul.


All times are GMT -8. The time now is 10:48 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.