Page 1 of 1

SEO & URL Canonicalization

Posted: Thu Nov 12, 2009 4:22 am
by astroutkarsh
Hello all,

I am using AbleCommerce 7.0.2.
From my product landing pages ( CatgegoryGrid4), the URL for product is of following format
<domain>/ProductName-P<ProductID>C(CategoryID>.aspx.
But from "More Items in <Category Name>" section, product has different URL
<domain>/ProductName-P<ProductID>.aspx

So as per URL prospective this is URL Canonicalization. Because there are two different URLs pointing to same product.

Is there anyone who faced this problem ?

Can anybody suggest the solution ?

Thanks in advance. :)

Re: SEO & URL Canonicalization

Posted: Thu Nov 12, 2009 9:43 am
by mazhar
A fix to incorporate canonical link to avoid duplicate content will be available in 7.0.4
http://bugs.ablecommerce.com/show_bug.cgi?id=8330

Re: SEO & URL Canonicalization

Posted: Thu Nov 12, 2009 2:11 pm
by jmestep
I think in 7.0.3 Able eliminated all the Cs in the product links on a category page. They might have missed one page, but you can change the links. Once the page gets the catalognode, substitute the product link.

Code: Select all

 if (catalogNode.CatalogNodeType == CatalogNodeType.Product)
                {
                    Product product = (Product)catalogNode.ChildObject;
                    string productUrl = product.NavigateUrl;
                    productUrl = this.Page.ResolveClientUrl(productUrl);

Re: SEO & URL Canonicalization

Posted: Fri Nov 13, 2009 3:18 am
by astroutkarsh
jmestep wrote:I think in 7.0.3 Able eliminated all the Cs in the product links on a category page. They might have missed one page, but you can change the links. Once the page gets the catalognode, substitute the product link.

Code: Select all

 if (catalogNode.CatalogNodeType == CatalogNodeType.Product)
                {
                    Product product = (Product)catalogNode.ChildObject;
                    string productUrl = product.NavigateUrl;
                    productUrl = this.Page.ResolveClientUrl(productUrl);
Thanks a lot for this fix.
It have solved my problem. :D