Canonical Confusion
-
So I have products appearing in several categories, all of which have the correct canonical url. But Moz is flagging up pages I never knew existed, and I don't understand why they exist at all and more so why my canonical fix isn't occurring for them, as below:
SEO Friendly URL: http://thespacecollective.com/nasa-pin-sets/nasa-shuttle-mission-pin-set-no2
Weird URL to same product: http://thespacecollective.com/index.php?route=themecontrol/product&product_id=159
Is this a developer problem rather than an SEO problem?
-
I understand , you may need an opencart professional to fix the problem.
-
Hello Vijay,
As discussed previously I already use an extension and the problem is still occurring. I was hopeful with the solution in your 2nd link, tried it, and as with most things gave me an error and took down my site. I'm sure this error is a problem that a good developer could fix but alas I don't have one.
-
THIs is the common issue with all open cart sites, if you discuss this issue with the developer, he will be able to fix it… no big deal!
-
Hi spacecollective,
Firstly, I love the site and I'll be buying a gift for my dad's birthday from here!
There are definitely some issues with canonical tag and redirect chains here. I'd say it's an issue with the development of the site that is now causing SEO issues - so it's an issue for both!
I'll use the product you mentioned in my example:
http://thespacecollective.com/index.php?route=themecontrol/product&product_id=159
canonicalizes to
http://thespacecollective.com/nasa-shuttle-mission-pin-set-no2/
which redirects to
http://thespacecollective.com/nasa-pin-sets/nasa-shuttle-mission-pin-set-no2
which canonicalizes to
http://thespacecollective.com/space-memorabilia/nasa-pin-sets/nasa-shuttle-mission-pin-set-no2/All of these URLs should have the same canonical URL. I always prefer to canonicalize products that appear under multiple categories to the root level (it's also what Magento does by default and it works very well).
So, in this example, all variations would have a canonical tag pointing to
http://thespacecollective.com/nasa-shuttle-mission-pin-set-no2/However, in your OpenCart CMS, it may be easier to canonicalize these to the final URL in the chain (http://thespacecollective.com/space-memorabilia/nasa-pin-sets/nasa-shuttle-mission-pin-set-no2/) as this is also the URL that is listed in the XML sitemap.
If you choose to canonicalize to the root level, you will need to make sure that the sitemap is updated to only include this new canonical URLs.
Hope this helps. Feel free to send me a PM if you have any further questions
Cheers,
David
-
Hi There,
I checked your website, it uses Opencart as a platform for e-commerce. You can search and use an extension from here http://www.opencart.com/index.php?route=extension/extension&filter_search=product canonical url seo
Or this can help you through https://isenselabs.com/posts/how-to-solve-the-duplicate-content-issue-in-opencart
I hope this helps, please feel free to ask further questions.
Regards,
Vijay
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is it possible that Google would disregard canonical tag?
Hi all, I was wondering if it is possible for Google to diregard the canonical tag, if for example they decide it is wrongly put based on behavioural data. On the Natviscript Blog's individual blog posts there is a canonical tag for the www.nativescript.org/blog/details (printscreen - http://prntscr.com/e8kz5k). In my opinion it should not be there, and I've put request to our Engineering team for removal some time ago. Interestingly, all blog posts are indexed and got decent amount of organic traffic despite the tag. What do you think? Could it be that Google would disregard the tag based on usage data from let's say GA? Thanks, Lily
Intermediate & Advanced SEO | | lgrozeva0 -
Why isn't the rel=canonical tag working?
My client and I have a problem: An ecommerce store with around 20 000 products has nearly 1 000 000 pages indexed (according to Search Console). I frequently get notified by messages saying “High number of URLs found” in search console. It lists a lot of sample urls with filter and parameters that are indexed by google, for example: https://www.gsport.no/barn-junior/tilbehor/hansker-votter/junior?stoerrelse-324=10-11-aar+10-aar+6-aar+12-aar+4-5-aar+8-9-aar&egenskaper-368=vindtett+vanntett&type-365=hansker&bruksomraade-367=fritid+alpint&dir=asc&order=name If you check the source code, there’s a canonical tag telling the crawler to ignore (..or technically commanding it to regard this exact page as another version of the page without all the parameters) everything after the “?” Does this url showing up in the Search Console message mean that this canonical isn’t working properly? If so: what’s wrong with it? Regards,
Intermediate & Advanced SEO | | Inevo
Sigurd0 -
Confused about SEO for Forums (Status Code 200)
I recently created a forum for my website (lets say my site is xyz.com so my forum is forum.xyz.com) and I've been getting status code 200s for tons of my forum pages about duplicate content- especially for threads that have a ton of interaction. Is there a way to fix this? I want my forum to be indexed and not get penalized, but if i canonical tag my main forum page wouldn't that take away the glory the awesome interactions my users are having? Anyone with forum experience can shed some light on this? Thank you so much!
Intermediate & Advanced SEO | | kentien930 -
Previously owned domain & canonical
Hi, I've recently joined the business and as part of the cleanup process I got told that we owned this domain preferredsafaris.com with some very similar content to our main site southernafricatravel.com. We're no longer owns the preferredsafaris.com domain but looking at Google's cache for it we realised that the title, meta description & page shown when looking at the 'cached page' is for our current domain even though it is showing the 'correct' URL there. I imagine this might have something to do with canonical set on those pages but the weird thing is all those pages now render 404 & do not show a canonical in the source code. I have used Google Removal Tool https://www.google.com/webmasters/tools/removals for all those URLs & Google says that it has removed them & yet they're still showing. What do you suggest? Any potential issue in regards to duplicate content here? Cheers, Julien
Intermediate & Advanced SEO | | SouthernAfricaTravel0 -
301 canonical'd pages?
I have an ecommerce site with many different URLs with the same product. Let's say the product is a hat. It's in: a a) mysite.com/products/hat b) mysite.com/collections/head-ware/hat c) mysite.com/collections/stuff-to-wear-on-your-head/hat Right now, A is the canonical page for B and C. I want to clean up my site, so that every product only has ONE unique URL, which is linked to from all the collections. So B and C URL will be broken. Is it necessary that I 301 them if they were already canonical'd? Based on the number of products I have, I would have to 301 1000+ URLs. I'm just trying to figure out what I need to do to avoid getting penalized. thanks
Intermediate & Advanced SEO | | birchlore0 -
What is the proper syntax for rel="canonical" ??
I believe the proper syntax is like this [taken from the SEOMoz homepage]: However, one of the sites I am working on has all of their canonical tags set up like this: I should clarify, not all of their canonicals are identical to this one, they simply use this naming convention, which appears to be relative URLs instead of absolute. Doesn't the entire URL need to be in the tag? If that is correct, can you also provide me with an explanation that I can give to management please? They hate it when I say "Because I said so!" LOL
Intermediate & Advanced SEO | | danatanseo0 -
Redirecting Canonical 301s and Magento Website
I have an issue with a client's website where it has 3700+ pages, but roughly half of them are duplicates. Thankfully, the only difference between the original and the duplictes is the "?print" at the end of each URL (I suppose this is Magento's way of making a printable page version of the same page. I don't know, I didn't build it.) My questions is, how can I get all the pages like this http://www.mycompany.com/blah.html?print to redirect to pages like this... http://www.mycompany.com/blah.html Also, do they NEED to be Canonical, or will a 301 redirect be sufficient. Also, after having done this, if anybody knows, is there a way I can turn that feature off in Magento, because we're expanding our product line, and I don't want to have to keep chasing after these "?print" pages after the fact.
Intermediate & Advanced SEO | | ClifThompson0