View Single Post
  #31  
Old 04-10-2009, 06:42 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Redirect to Product Page when only One product in category

If using a recent version of CDSEO with canonical link support then the primary url would be indexed only regardless.

You could also change the code from:

Code:
{assign var="prodURL" value="product.php?productid=`$products.0.productid`&cat=$cat&page=1"}

to:

Code:
{assign var="prodURL" value="product.php?productid=`$products.0.productid`"}
Reply With Quote