Using Canonical Attribute
-
Hi All,
I am hoping you can help me?
We have recently migrated to the Umbraco CMS and now have duplicate versions of the same page showing on different URLs. My understanding is that this is one of the major reasons for the rel=canonical tag.
So am I right in saying that if I add the following to the page that I want to rank then this will work?
I'm just a little worried as I have read some horror stories of people implementing this attribute incorrectly and getting into trouble.
Thank you in advance
-
Just want to add one comment. Where people end up in trouble is when they apply the canonical tag too broadly (to non-duplicates). This tends to happen when you have a CMS and one template drives multiple pages. So, let's say that all of your product pages are created by:
http://example.com/product.php
...and you just add IDs to that to create a product, like:
http://example.com/product.php?id=123
If you add a canonical tag to "product.php" pointing to a single product, you would essentially tell Google to canonicalize every product page on your site to just that one product. This is because that one physical file impacts hundreds of URLs. So, in that case, you would have to make sure the code logic was in place to apply the proper ID.
-
Mr. Painter said it perfectly.
With that said, I think the decision of whether or not to use canonical tags depends partially on what the varying URLs are. If they are like the books/author example above the Canonical tags are for you.
However a lot of people mistakenly think that using canonical tags to solve the non-www to www duplication is a proper solution when in fact you need to 301 in that case.
So if your URL duplication issues stem from http://books.com/author and http://www.books.com/author then you need to put a redirect in place instead.
Just wanted to add that tidbit on just in case. Good luck!
-
Hell,
first off here is some help - https://support.google.com/webmasters/answer/139394?hl=en
the way it works is lets say you've got two bits of content on two different areas of a site but it will only index one (and mark other as a duplicate) Example :
&
Now these may be the same content, what we would then do is put a canonical tag on the duplicate page pointing to the page we wanted to be indexed ( I would recommend using one thats closer to the domain) so on www.books.com/genre/author we would put the tag -
What this does it tells Google this page is a duplicate of this one (the one in the link) Google will then ignore that page and only index the page in the canonical **In Short** Canonical is used for duplicate content if you only need one page to been indexed and want to avoid duplicate content issues. if you have duplicate content its perfect for you. Hope that helps clear it up
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
-
Should I use the on classified listing pages that have expired?
We have went back and forth on this and wanted to get some outside input. I work for an online listing website that has classified ads on it. These ads are generated by companies on our site advertising weekend events around the country. We have about 10,000 companies that use our service to generate their online ads. This means that we have thousands of pages being created each week. The ads have lots of content: pictures, sale descriptions, and company information. After the ads have expired, and the sale is no longer happening, we are currently placing the in the heads of each page. The content is not relative anymore since the ad has ended. The only value the content offers a searcher is the images (there are millions on expired ads) and the descriptions of the items for sale. We currently are the leader in our industry and control most of the top spots on Google for our keywords. We have been worried about cluttering up the search results with pages of ads that are expired. In our Moz account right now we currently have over 28k crawler warnings alerting us to the being in the page heads of the expired ads. Seeing those warnings have made us nervous and second guessing what we are doing. Does anybody have any thoughts on this? Should we continue with placing the in the heads of the expired ads, or should we be allowing search engines to index the old pages. I have seen websites with discontinued products keeping the products around so that individuals can look up past information. This is the closest thing have seen to our situation. Any help or insight would be greatly appreciated! -Matt
Intermediate & Advanced SEO | | mellison0 -
Use Nonindex or Canonical on product tags of a e-commerce site
I run a e-commerce site and we have many product tags. These product tags come up as "Duplicate Page Content" when Moz does it's crawl. I was wondering if I should use Nonindex or Canonical? The tags all go to the same product when used so I figure I would just nonindex them but was wondering what's the best for SEO?
Intermediate & Advanced SEO | | EmmettButler1 -
Internal Links Query - What should be use as anchor text
Hello All, We are looking at our internal links and most of them say "More" or "View All" The "more" anchor Text links - are usually positioned on the Body Content as we only display a portion of the content and then the user clicks more to see all the content ? - Should we be changing the "More" Text to something more keyword /phrase friendly i.e " more information about carpet cleaning" or "more information on Tool hire" or would that be deemed as spammy ? thanks Peter
Intermediate & Advanced SEO | | PeteC120 -
This is a clear-cut canonical issue, right?
Hello, A client is having one of their daily blogs published on a industry news site along with on their own site. This is a clear-cut case of having a canonical tag implemented on the client's site on each blog page, right? Thanks
Intermediate & Advanced SEO | | Martin_S0 -
For those of you that used LINK DETOX.
Did you go ahead and remove all the TOXIC and HIGH RISK links? Just the toxic? Were you successful with the tool?
Intermediate & Advanced SEO | | netviper0 -
What Wordpress Update Services Should You Be Using on Your Wordpress Blog?
I have been told that pingomatic.com is all that you need however yesterday I went to a conference and others were recommending to have a good list of pinging services to cover all your bases Here are 4 that have been recommended: pingomatic technorati blogsearch.google.com feedburner Any others that should be included on this list? My goal is not to spam these ping lists however want to make sure my content is getting indexed quickly
Intermediate & Advanced SEO | | webestate0 -
301 redirect or rel=canonical
On my site, which I created with Joomla, there seems to be a lot of duplicated pages. I was wondering which would be better, 301 redirect or rel=canonical. On SeoMoz Pro "help" they suggest only the rel=canonical and dont mention 301 redirect. However, ive read many other say that 301 redirect should be the number one option. Also, does 301 redirect help solve the crawling errors, in other words, does it get rid of the errors of "duplicate page content?" Ive read that re-=canonical does not right? Thanks!
Intermediate & Advanced SEO | | waltergah0 -
Can I Use Cross Domain Canonical For Duplicate Categories & Product Pages?
I want to fix issue regarding duplicate categories & product pages on my multiple eCommerce websites. http://www.vistastores.com/patio-umbrellas-fiberbuilt-umbrellas-llc-7gcrw-teal.html - Want to rank with this... http://www.vistapatioumbrellas.com/patio-umbrellas-fiberbuilt-umbrellas-llc-7gcrw-teal.html - Duplicate one! http://www.vistastores.com/patio-umbrellas - Want to rank with this... http://www.vistapatioumbrellas.com/patio-umbrellas - Duplicate one!
Intermediate & Advanced SEO | | CommercePundit0