SEO & URL Canonicalization

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
astroutkarsh
Ensign (ENS)
Ensign (ENS)
Posts: 8
Joined: Fri Sep 25, 2009 3:32 am

SEO & URL Canonicalization

Post by astroutkarsh » Thu Nov 12, 2009 4:22 am

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. :)

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: SEO & URL Canonicalization

Post by mazhar » Thu Nov 12, 2009 9:43 am

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

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: SEO & URL Canonicalization

Post by jmestep » Thu Nov 12, 2009 2:11 pm

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);
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

astroutkarsh
Ensign (ENS)
Ensign (ENS)
Posts: 8
Joined: Fri Sep 25, 2009 3:32 am

Re: SEO & URL Canonicalization

Post by astroutkarsh » Fri Nov 13, 2009 3:18 am

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

Post Reply