Thanks!
To answer your question, OpenCart generates canonical SEOs for all product pages in the form of:
Code: Select all
<link href="http://storeurl.com/index.php?route=product/product&product_id=#" rel="canonical" />
Code: Select all
<link href="http://storeurl.com/product-seo-keyword" rel="canonical" />
-Ryan
Code: Select all
http://storeurl.com/index.php?route=product/product&product_id=40
Code: Select all
http://storeurl.com/product-seo-keyword
So it doesn't matter if the URL is
Code: Select all
http://storeurl.com/index.php?route=product/product&filter_name=iphone&product_id=40
Code: Select all
http://storeurl.com/index.php?route=product/product&path=24_36_37&product_id=40
Code: Select all
http://storeurl.com/phones-and-pdas/apple/iphone
-Ryan
From your own shop visible on the web, click on that product in each of those five categories and view the page source code to see if only one of the versions shows the canonical meta tag...SteveWylde wrote:I'm confused. If I have seo urls and 1 product can be found in 5 different categories is there one url that all of the others point to or am I thinking of canonicalization all wrong?
Consideration must given to assigning a sort order to parent categories, the (numerically) lowest of those sort orders determines which category becomes the "parent" of the canonical URL.
Hosting for Oc 2.x: Well tested on 2.03.1 including emails work correctly, cPanel Shared or WHM VPS, managed security, fast & reliable SSD drives, Raid 10 /4 disk redundancy, server locale - Texas, contact me to discuss further.
There are no categories in product canonical URLs. It's a direct product link in the form I posted earlier.VictorDrummond wrote:Consideration must given to assigning a sort order to parent categories, the (numerically) lowest of those sort orders determines which category becomes the "parent" of the canonical URL.
-Ryan
Yes!SteveWylde wrote:Thanks guys I had my thinking all backwards. So the product url that is in the root domain directory, such as horsefart.com/product-url gets the canonical tag and all of the other products are recognized as duplicates? Have I finally got this right? Sorry for the newb action.
I started using SEO-urls and then it is even more clear how it works.
Google sees: \domain\product-name.
Even if you have your product added to several categories it still uses the \domain\product-name.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
You also need the mod to fix breadcrumbs that the devloper offers if you use the above mod.
Still, the default way OC handles multiple urls works great, why add another modification?SteveWylde wrote:Thanks for the feedback i2Paq. I use seo urls also but I bought a mod that all products use the domain root url so canonicalization is not needed. It works great. http://www.opencart.com/index.php?route ... on_id=6580
You also need the mod to fix breadcrumbs that the devloper offers if you use the above mod.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
i2Paq wrote:Still, the default way OC handles multiple urls works great, why add another modification?SteveWylde wrote:Thanks for the feedback i2Paq. I use seo urls also but I bought a mod that all products use the domain root url so canonicalization is not needed. It works great. http://www.opencart.com/index.php?route ... on_id=6580
You also need the mod to fix breadcrumbs that the devloper offers if you use the above mod.
I just like that all products are in the domain root so shorter URLs are indexed.
Users browsing this forum: No registered users and 121 guests