This project is read-only.

SEO friendly categories

Sep 2, 2009 at 10:05 AM

Hi - is there a way to have SEO friendly categories in the url... e.g. instead of catolog/2.aspx have catolog/shirts.aspx and also for when you drill down into the product?



Sep 2, 2009 at 11:10 AM

You can use catalog/<categoryName>.aspx instead catalog/1.aspx. All u need - is to change XSLTCategoryList.xslt.
Here u can find string:
<li><a href="/catalog/{@categoryID}.aspx"><xsl ........./></a></li>
If u change it to:
<li><a href="/catalog/{@categoryName}.aspx"><xsl ........./></a></li>
u obtain address string as u want.

But I dont Know exactly about Products, but ... If u want the same as with categories, u need to change FeaturedProduct and Catalog usercontrols. In this controls are productGUID uses. U need to change it to product sku. But I didnt test it yet.