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
-
Pagination & Canonicals
Hi I've been looking at how we paginate our product pages & have a quick question on canonicals. Is this the right way to display.. Or should the canonical point to the main page http://www.key.co.uk/en/key/euro-containers-stacking-containers, so Google doesn't pick up duplicate meta information? Thanks!
Intermediate & Advanced SEO | | BeckyKey0 -
If I put a piece of content on an external site can I syndicate to my site later using a rel=canonical link?
Could someone help me with a 'what if ' scenario please? What happens if I publish a piece of content on an external website, but then later decide to also put this content on my website. I want my website to rank first for this content, even though the original location for the content was the external website. Would it be okay for me to put a rel=canonical tag on the external website's content pointing to the copy on my website? Or would this be seen as manipulative?
Intermediate & Advanced SEO | | RG_SEO1 -
Should I Keep adding 301s or use a noindex,follow/canonical or a 404 in this situation?
Hi Mozzers, I feel I am facing a double edge sword situation. I am in the process of migrating 4 domains into one. I am in the process of creating URL redirect mapping The pages I am having the most issues are the event pages that are past due but carry some value as they generally have one external followed link. www.example.com/event-2008 301 redirect to www.newdomain.com/event-2016 www.example.com/event-2007 301 redirect to www.newdomain.com/event-2016 www.example.com/event-2006 301 redirect to www.newdomain.com/event-2016 Again these old events aren't necessarily important in terms of link equity but do carry some and at the same time keep adding multiple 301s pointing to the same page may not be a good ideas as it will increase the page speed load time which will affect the new site's performance. If i add a 404 I will lose the bit of equity in those. No index,follow may work since it won't index the old domain nor the page itself but still not 100% sure about it. I am not sure how a canonical would work since it would keep the old domain live. At this point I am not sure which direction I should follow? Thanks for your answers!
Intermediate & Advanced SEO | | Ideas-Money-Art0 -
Canonical and Rel=next/prev Implementation
Hi, I have an ecommerce site that allows users to view numerous pages and sort by a number of options on categories. I've read numerous posts around my issue but am still a little confused on what is best practice with regards to the canonical tag and rel=next and prev. Below is an example of the various page/sort by URL's: Paginated URL: http://www.example.co.uk/category/subcategory.html?p=3 Sort by URL: http://www.example.co.uk/category/subcategory.html?dir=desc&order=price Paginated & Sort by URL: http://www.example.co.uk/category/subcategory.html?dir=desc&order=price&p=3 It is not viable for us to use a canonical tag to the view all page as some of the categories contain a large number of products and therefore would not have the best load speeds. Is it best to use the below structure when it comes to the canonical tag and rel=next and prev? Paginated URL: http://www.example.co.uk/category/subcategory.html?p=3 Sort by URL: http://www.example.co.uk/category/subcategory.html?dir=desc&order=price Paginated & Sort by URL: http://www.example.co.uk/category/subcategory.html?dir=desc&order=price&p=3 http://www.example.co.uk/category/subcategory.html?dir=desc&order=price&p=2" /> Thanks
Intermediate & Advanced SEO | | GrappleAgency0 -
Which search engines still use Meta Keywords?
I know Google doesn't use meta keywords in meta tags, but i was wondering if there are other smaller search engines that still do? Id it worth it to add meta keywords for them?
Intermediate & Advanced SEO | | jhinchcliffe0 -
Backlinking from a Canonical Page to the Non-Canonical Doman - Wrong Signals?
Hi Mozzers, Let's say you have www.mysite.com/page, which is a duplicate of www.yoursite.com/page. www.yousite.com/page has a rel canonical link identifying www.mysite.com/page as the original source. www.mysite.com/page has a followed backlink going towards www.yousite.com/home-page. mysite.com has a DA of 44
Intermediate & Advanced SEO | | Travis-W
yoursite.com has a DA of 33 Google has chosen to index www.yoursite.com/page instead of www.mysite.com/page. Is the followed backlink responsible for the wrong page being indexed? Thanks!0 -
Cross-Domain Canonical and duplicate content
Hi Mozfans! I'm working on seo for one of my new clients and it's a job site (i call the site: Site A).
Intermediate & Advanced SEO | | MaartenvandenBos
The thing is that the client has about 3 sites with the same Jobs on it. I'm pointing a duplicate content problem, only the thing is the jobs on the other sites must stay there. So the client doesn't want to remove them. There is a other (non ranking) reason why. Can i solve the duplicate content problem with a cross-domain canonical?
The client wants to rank well with the site i'm working on (Site A). Thanks! Rand did a whiteboard friday about Cross-Domain Canonical
http://www.seomoz.org/blog/cross-domain-canonical-the-new-301-whiteboard-friday0 -
Use of Apache mod_rewrite module for SEO?
I'm curious if anyone here running a large, complex, dynamic site has used the Apache server mod_rewrite module to simplify their site's URLs by rewriting them in a standard format. The chief use of this module for SEO purposes would be to aid in canonicalization and reduce duplicate content. For example, you could easily convert all of you ALL CAPS or MixedCase URLs to lower case, change all "/index.html" URLs to just point to "/", change all word seperators to hyphens, and so on. Any server-side ninjas out there with stories to tell? 🙂
Intermediate & Advanced SEO | | jcolman0