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
-
Can I remove certain parameters from the canonical URL?
For example, https://www.jamestowndistributors.com/product/epoxy-and-adhesives?page=2&resultsPerPage=16 is the paginated URL of the category https://www.jamestowndistributors.com/product/epoxy-and-adhesives/. Can I remove the &resultsPerPage= variation from the canonical without it causing an issue? Even though the actual page URL has that parameter? I was thinking of using this: instead of: What is the best practice?
Intermediate & Advanced SEO | | laurengdicenso0 -
x-default hreflang attribute value
Hi When is it best to use the x-default hreflang attribute value tags? Screaming frog is flagging lots as missing, but is it necessary? Thanks
Intermediate & Advanced SEO | | BeckyKey0 -
Do I need to use a trailing slash to homepage in canonical and hreflang?
Currently I have a 301 redirect from
Intermediate & Advanced SEO | | lcourse
https://www.mysite.com/
to
https://www.mysite.com And in my canonical and hreflang and also insite links I use consistently https://www.mysite.com without trailing slash. Is this OK? Or do I need to add a trailing slash?0 -
Canonical tags and product descriptions
I just wanted to check what you guys thought of this strategy for duplicate product descriptions. A sample product is a letter bracelet - a, b, c etc so there are 26 products with identical descriptions. It is going to be extremely difficult to come up with 25 new unique descriptions so with recommendation i'm looking to use the canonical tag. I can't set any to no-index because visitors will look for explicit letters. Because the titles only differ by the letter then a search for either letter bracelet letter a bracelet letter i bracelet will just return results for 'letter bracelet' due to stop words unless the searcher explicitly searches for 'letter "a" bracelet. So I reckon I can make 4 new unique descriptions. I research what are the most popular letters picking 5 from the top (excluding 'a' and 'i'). Equally share the remaining letters between those 5 and with each group set a canonical tag pointing to the primary letter of that group. Does this seem a sensible thing to do?
Intermediate & Advanced SEO | | MickEdwards0 -
Paging Question: Rel Next or Canonical?
Hi, Lets say you have a category which displays a list of 20 products and pagination of up to 10 pages. The root page has some content but when you click through the paging the content is removed leaving only the list of products. Would it be best to apply a canonical tag on the paging back to the root or apply the prev/next tags. I understand prev/next is good for say a 3 part article where each page holds unique content but how do you handle the above situation? Thanks
Intermediate & Advanced SEO | | Bondara0 -
Using the Word "Free" in Metadata
Hi Forum! I've searched previous questions, and couldn't find anything related to this. I know the word "free" when used in email marketing can trigger spam filters. If I use the word "free" in my metadata (title tag, description, and keywords just for fun) will I be penalized in any way? Thanks!
Intermediate & Advanced SEO | | Travis-W0 -
How would you use this broken link building opportunity?
I've found a good opportunity to build some links and I'd love your opinions on my options here. There's a big event that happens once a year in my city. Let's say the event used to have a website called www.CityEvent.com. The event decided not to use this website anymore, but instead to put all of their event information on their facebook page. It looks like they let their domain name expire and someone else snapped it up. It's now sitting as an empty wordpress blog with one line of text. This empty website has 1300 links pointing to it. I can see two opportunities here: 1. Write a very thorough article on my website (that I am trying to build links to) describing the event and giving people all of the information that they need to know about it. (The amount of information on the Facebook page is minimal.) or 2. Create a new website called www.EventCity.com and put up a static page with all of the information that people need to know. There would be a link on this page pointing to the site that I am trying to rank. In both cases there would be much more information than is available on the Facebook page including a collection of youtube videos about the event and many helpful links for people who are interested in this type of event. Then the plan is to contact the sites who are linking to the dead page and invite them to link to my new page (either on my site or the new site that I could create). I see a few pros and cons to each method. For option #2 I think people would be more likely to link to a more official looking page rather than an article on a separate website. (My website has information about the city in question but is not closely related to the event at all.) However, I would only be getting one link back to my site. One negative to this is that the actual organizers of the event may not be pleased that someone has created an official looking page. But then again, perhaps they would be happy to have a free website. For option #1 I would possibly get more links from sites that are authoritative in my city that point directly to the site I am trying to rank. However, people would be less likely to link to us because we are not an official site for the event, but simply a very good article about the event. There are no other good articles for this event that are ranking on Google. Hopefully that makes sense. What would you do? EDIT - Just thought of a third option - try to buy the domain.
Intermediate & Advanced SEO | | MarieHaynes0 -
Quickseoresults.com - Anyone used them?
Has anyone had any experience with or used quickseoresults.com? I'm just looking into them now. They seem to offer a 30 day free trial based on 'white hat' tactics that gives results. You can then pay to continue their services. They seem to base their services heavily around link building, so I'm dubious.
Intermediate & Advanced SEO | | PeterAlexLeigh0