Post by haowind » Wed Sep 12, 2012 12:38 am

Hi guys,

I have tried to change the product's breadcrumbs to Home>>category>>sub-category>>product-name.
Meanwhile, I want to set the canonial URL to,
not like the OC default

I fout that I can go to a category or product page through many URLs.
e.g. this page can be reached through: and

It should not work like this... If i set a product name as iphone, this will sure cause conflict problem on URL.

I think all canonial URL should be set to, and breadcrumb set to home>>cat1>>cat2>>product-name. NOT because this link is not default display for category products.

If I do seo backlink building for product page, which URL should I use??? OR ???

This is a big problem.
Can anyone help?

I solved it myself. Change the 1 line to 2 line of catalog/controller/product/product.php.
And there is another guy has post to change the featured products' breadcrumb. It think its perfect now.
---change this---
$this->document->addLink($this->url->link('product/product', 'product_id=' . $this->request->get['product_id']), 'canonical');

---to- this--
$this->document->addLink($this->url->link('product/product',$url . '&product_id=' . $this->request->get['product_id']), 'canonical');
Haowind is a professional manufacturer for plastic craftworks, piggy banks, bath ducks, mini compasses and promotional gifts.



Sun Sep 09, 2012 2:46 pm
Location - China

Post by Axansh » Fri Sep 14, 2012 6:57 pm


We have developed an extension for SEO - to make it easy for seller.

This module helps you with optimizing the url's of all your website pages , categories , products , manufacturers , information pages .

you can also optimize the titles , meta tag keywords , meta tag descriptions of all the links , categories , products , manufacturers , information pages .

If you add new links or catalog data - they can be optimised as well .

All optimizations can be done for multiple languages .

Image names can also be optimized .

For fast results , less data entry - you can use auto generate facility .

Thanks and Best Regards,
Axansh Sheth

Our Opencart Module
All in ONE SEO |
Multi-purpose pop |
Restaurant theme |
Store time save module

User avatar
Active Member


Mon Feb 06, 2012 3:07 pm
Who is online

Users browsing this forum: No registered users and 50 guests