Two different canonical tags on one page
-
Due to an error, some of my pages now have two canonical tags on them. One is correct and the other goes to a nonsense URL (404 page).
I know I should ideally remove the incorrect ones, but it's a big manual job. Are they doing any harm? Can I just leave them there and let Google figure it out?
The correct ones are higher up in the code. Will this make a difference?
Any help appreciated.
-
Unfortunately, what Google can do and what they actually do can really vary. If you're mixing signals and doubling up the canonicals, the odds that they'll get it right are pretty low, in my experience. I think it's worth the fix, if these are traffic-generating pages.
-
You should certainly fix this. You don't want google having to guess what you are trying to tell them. For the most part they will probably get it right, especially in your case with the 404s. But if this is occurring too frequently then they may begin to ignore your canonicals all together. Or worse, you may loose some google trust.
I'd put this on my fix it list.
-
Thanks Scott. It's only wrong on a few hundred pages and they're all quite deep. If it were wrong on the important pages I'd fix it.
-
You should change it, I'm no canonical expert, but the whole point of having it is to tell google how you want it to show, ex. www.yoursite.com or yoursite.com. If your not going to change it for all of your pages then at least do it for your home page as this is the one that usually gets the most attention.
-
Well that's good news. Think I'll just leave them there then. Thanks!
-
This is stright from Google Webmasters:
"What happens if rel="canonical" points to a non-existent page? Or if more than one page in a set is specified as the canonical version?
We'll do our best to algorithmically determine an appropriate canonical page, just as we've done in the past."
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394
Hope that helps
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
-
What is the correct Canonical tag on m.site?
We have 2 separate sites for desktop (www.example.com) and mobile (m.example.com) As per the guideline, we have added Rel=alternate tag on www.example.com to point to mobile URL(m.example.com) and Rel=canonical tag on m.example.com to point to Desktop site(www.example.com).However, i didn't find any guideline on what canonical tag we should add ifFor Desktop sitewww.example.com/PageA - has a canonical tag to www.example.com/PageBOn this page, we have a Rel=alternate tag m.example.com/pageAWhat will be the canonical we should add for the mobile version of Page Am.example.com/PageA - Canonical tag point to www.example.com/PageA -or www.example.com/PageB?Kalpesh
Technical SEO | | kguard0 -
How to deal with canonicals on dup product pages in Magento?
What's the best way to sort canonicals on duplicate product pages generated from products being in more than one category in a Magento web store? Thanks
Technical SEO | | Kerry_Jones0 -
Page Title Displaying differently on Google
Hi i am wondering why page title is display differently on google search. The combination of words that are being displayed on google are not on the page and the page title is simply "Camera Filters", however the page is showing as "our range of Camera Filters" (with the same capitalisation). http://awesomescreenshot.com/0cf4r09y27 I have optimised the age as best i can so it removes the OUR RANGE OF preface, however no luck. Any info would be appreciated. Cheers
Technical SEO | | andrewlos0 -
Robots.txt | any SEO advantage to having one vs not having one?
Neither of my sites has a robots.txt file. I guess I have never been bothered by any particular bot enough to exclude it. Is there any SEO advantage to having one anyways?
Technical SEO | | GregB1230 -
Pages with Duplicate Page Content Crawl Diagnostics
I have Pages with Duplicate Page Content in my Crawl Diagnostics Tell Me How Can I solve it Or Suggest Me Some Helpful Tools. Thanks
Technical SEO | | nomyhot0 -
On page audit throws a rel="canonical" curve ball :-(
Good Morning from -3 Degrees C, still no paths gritted wetherby UK 😞 Following an on page audit one recommendation instructs me to ad:
Technical SEO | | Nightwing
http://www.barrettsteel.com/" /> on the home page of barrett steel. I'm confused, i thought i only had to add this to duplications
the home page which to my knowledge dont exist. So my question is please: "Why shoul i ad this snippet of code on the home page of http://www.barrettsteel.com http://www.barrettsteel.com/" /> Any insights welcome 🙂0 -
Does Bing support cross-domain canonical tags?
We have heard Bing takes canonical tags as hints, but do they support cross-domain canonical tags? I don't think this has ever been discussed? Does anyone have an answer or insight? Thanks!!
Technical SEO | | bonnierSEO0