Post by SteveWylde » Wed Dec 19, 2012 8:40 am

I have read the OC automatically makes canonical any duplicate products. Is this the case and if so, which particular product url will it use as the main one?

Thanks!

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am

Post by Avvici » Thu Dec 20, 2012 5:40 am

Search the forums and/or google. There are plenty of posts on this.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by SteveWylde » Thu Dec 20, 2012 1:56 pm

I've looked but I haven't been able to find anything clear on the subject. Maybe I'm not searching for the right phrases.

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am

Post by SteveWylde » Sat Dec 22, 2012 3:05 am

So apparently Opencart automatically uses canonical for duplicate content but from what I read it doesn't point to any one particular page as the real content. It seems that the best solution is to use a seo mod so I got the pretty damn sexy url extension.

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am

Post by rph » Sat Dec 22, 2012 3:16 am

It's been gone over a million times and not to be rude, but is it really that hard to just look at the HTML source code of your pages and see what OpenCart does? I just don't see the point of speculating (wrongly) without any evidence.

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" />
Or

Code: Select all

<link href="http://storeurl.com/product-seo-keyword" rel="canonical" />
If SEO keywords are enabled and active for the product.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by SteveWylde » Fri Jan 11, 2013 10:09 am

I'm new to opencart and ecommerce in general. I still make newby errors and am not well versed on canonicalization. My main concern was which one of the actual product pages would be recognized as the main product. I realize that all the others say they are canonical but I don't think anyone has answered which page would be pointed at as the "official" page so to speak. So if a product is in 5 different categories, which link would be used as the "official" content?

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am

Post by rph » Sat Jan 12, 2013 12:33 am

The product is directly linked to using the form I posted above.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by SteveWylde » Sun Jan 13, 2013 3:32 am

I'm sorry I guess I don't understand fully how canonicalization works. I'll have to look into it further. Thank you for your information.

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am

Post by rph » Sun Jan 13, 2013 6:08 am

All product pages, no matter what category they're in or how you got to them, point to a canonical URL in the form of:

Code: Select all

http://storeurl.com/index.php?route=product/product&product_id=40
OR

Code: Select all

http://storeurl.com/product-seo-keyword
If SEO keywords are enabled.

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
OR

Code: Select all

http://storeurl.com/index.php?route=product/product&path=24_36_37&product_id=40
OR

Code: Select all

http://storeurl.com/phones-and-pdas/apple/iphone
They will all point to the same single product URL in the examples I gave.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by tresero » Mon Jan 14, 2013 8:43 am

Hmmm, I don't believe that is the case. I have no canonical meta tag at all on a new, clean install. Any ideas why that would stop functioning?

Newbie

Posts

Joined
Sat Jan 12, 2013 3:24 am

Post by tresero » Mon Jan 14, 2013 8:59 am

Oops just found it, sorry, I had a caching error on my browser.

Newbie

Posts

Joined
Sat Jan 12, 2013 3:24 am

Post by SteveWylde » Fri Jan 18, 2013 10:03 am

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?

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am

Post by VictorDrummond » Fri Jan 18, 2013 11:30 am

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?
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...

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.


User avatar
Active Member

Posts

Joined
Sat Dec 15, 2012 12:41 pm
Location - On the balcony slammin' Margaritas

Post by rph » Fri Jan 18, 2013 3:00 pm

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.
There are no categories in product canonical URLs. It's a direct product link in the form I posted earlier.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by SteveWylde » Mon Jan 21, 2013 10:47 am

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.

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am

Post by i2Paq » Mon Jan 21, 2013 6:43 pm

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.
Yes!

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by SteveWylde » Wed Jan 23, 2013 9:41 am

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.

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am

Post by i2Paq » Wed Jan 23, 2013 7:46 pm

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.
Still, the default way OC handles multiple urls works great, why add another modification?

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by SteveWylde » Sat Feb 02, 2013 10:17 am

i2Paq wrote:
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.
Still, the default way OC handles multiple urls works great, why add another modification?

I just like that all products are in the domain root so shorter URLs are indexed.

New member

Posts

Joined
Wed Nov 21, 2012 6:14 am
Who is online

Users browsing this forum: No registered users and 121 guests