Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

duplicate content on product pages with multiple pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-15-2014, 11:49 AM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default 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.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
  #2  
Old 07-16-2014, 05:52 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: duplicate content on product pages with multiple pages

Try something like:

{if $navigation_page eq "1"}
{$current_category.description|amp}
{/if}
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 07-16-2014, 09:21 AM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default Re: duplicate content on product pages with multiple pages

Thanks I'll give that a shot.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
  #4  
Old 07-16-2014, 10:58 AM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default 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.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:02 AM.

   

 
X-Cart forums © 2001-2020