Skip to main content

Specify your canonical

Carpe diem on any duplicate content worries: we now support a format that allows you to publicly specify your preferred version of a URL. If your site has identical or vastly similar content that's accessible through multiple URLs, this format provides you with more control over the URL returned in search results. It also helps to make sure that properties such as link popularity are consolidated to your preferred version.

Let's take our old example of a site selling Swedish fish. Imagine that your preferred version of the URL and its content looks like this:

http://www.example.com/product.php?item=swedish-fish


However, users (and Googlebot) can access Swedish fish through multiple (not as simple) URLs. Even if the key information on these URLs is the same as your preferred version, they may show slight content variations due to things like sort parameters or category navigation:

http://www.example.com/product.php?item=swedish-fish&category=gummy-candy

Or they have completely identical content, but with different URLs due to things such as a tracking parameters or a session ID:

http://www.example.com/product.php?item=swedish-fish&trackingid=1234&sessionid=5678

Now, you can simply add this tag to specify your preferred version:



inside the section of the duplicate content URLs:

http://www.example.com/product.php?item=swedish-fish&category=gummy-candy
http://www.example.com/product.php?item=swedish-fish&trackingid=1234&sessionid=5678


and Google will understand that the duplicates all refer to the canonical URL: http://www.example.com/product.php?item=swedish-fish. Additional URL properties, like PageRank and related signals, are transferred as well.

This standard can be adopted by any search engine when crawling and indexing your site.

Of course you may have more questions. Joachim Kupke, an engineer from our Indexing Team, is here to provide us with the answers:

Is rel="canonical" a hint or a directive?
It's a hint that we honor strongly. We'll take your preference into account, in conjunction with other signals, when calculating the most relevant page to display in search results.

Can I use a relative path to specify the canonical, such as ?
Yes, relative paths are recognized as expected with the tag. Also, if you include a link in your document, relative paths will resolve according to the base URL.

Is it okay if the canonical is not an exact duplicate of the content?
We allow slight differences, e.g., in the sort order of a table of products. We also recognize that we may crawl the canonical and the duplicate pages at different points in time, so we may occasionally see different versions of your content. All of that is okay with us.

What if the rel="canonical" returns a 404?
We'll continue to index your content and use a heuristic to find a canonical, but we recommend that you specify existent URLs as canonicals.

What if the rel="canonical" hasn't yet been indexed?
Like all public content on the web, we strive to discover and crawl a designated canonical URL quickly. As soon as we index it, we'll immediately reconsider the rel="canonical" hint.

Can rel="canonical" be a redirect?
Yes, you can specify a URL that redirects as a canonical URL. Google will then process the redirect as usual and try to index it.

What if I have contradictory rel="canonical" designations?
Our algorithm is lenient: We can follow canonical chains, but we strongly recommend that you update links to point to a single canonical page to ensure optimal canonicalization results.

Can this link tag be used to suggest a canonical URL on a completely different domain?
**Update on 12/17/2009: The answer is yes! We now support a cross-domain rel="canonical" link element.**

Previous answer below:
No. To migrate to a completely different domain, permanent (301) redirects are more appropriate. Google currently will take canonicalization suggestions into account across subdomains (or within a domain), but not across domains. So site owners can suggest www.example.com vs. example.com vs. help.example.com, but not example.com vs. example-widgets.com.

Sounds great—can I see a live example?
Yes, wikia.com helped us as a trusted tester. For example, you'll notice that the source code on the URL http://starwars.wikia.com/wiki/Nelvana_Limited specifies its rel="canonical" as: http://starwars.wikia.com/wiki/Nelvana.

The two URLs are nearly identical to each other, except that Nelvana_Limited, the first URL, contains a brief message near its heading. It's a good example of using this feature. With rel="canonical", properties of the two URLs are consolidated in our index and search results display wikia.com's intended version.

Feel free to ask additional questions in our comments below. And if you're unable to implement a canonical designation link, no worries; we'll still do our best to select a preferred version of your duplicate content URLs, and transfer linking properties, just as we did before.

Update: this link-tag is currently also supported by Ask.com, Microsoft Live Search and Yahoo!.

Update: for more information, please see our Help Center articles on canonicalization and rel=canonical.


Comments

Popular posts from this blog

8 major Google ranking signals in 2017

What’s a top Google position made of? Here are the 8 ingredients that make all the difference. It’s no secret that Google’s ranking algorithm is made up of over 200 components, or “signals.” And while the list is impressive, it can get daunting if you’re a just regular human with 24 hours in a day. Luckily, SEO isn’t about getting every tiny thing right; it’s about getting your priorities right. Below, we’ve put up a list of top eight rankings factors, based on the industry studies by  SearchMetrics ,  Backlinko  and  SEO PowerSuite . Read on to find what they are, and how to optimize your site for each. Backlinks Surprise, surprise, right? In 2017, backlinks continue to be the strongest indication of authority to Google. Let’s look at the things that can make or break yours. 1. Link score How does Google turn the abstract concept of “backlinks” into a quantifiable ranking signal? In several  patents , Google explains that this is done by calculating a “link score.” Th

What is Press Release ? - Press Release Writing & Distribution

Press Release is very useful service for an innovator or a producer or an enterprenaur as he can apprise the world about his new product/service easily through distributing his press release on various online press release websites who further provide them to various newspapers, articles and websites. one can atrract favorable media attention with the spreading of their well written articles. A press release is the information which is supplied to a reporter or a professional writer so he can use his skills and create a beautiful article which is interactive and is considered as the article which has to be distributed to press for publishing in newspapers and megazines. Benefits of Press Release… * Press release is a powerful publicity tool that helps the enterprenaurs to build business. * Once you distribute press release to various places, the incoming traffic to your website increases drastically. * It is a very inexpensive way to get publicity. * It is a sure s

Make Instant SEO Analysis Report

Usually Managers assign a task to check SEO status of a site and they will come back in 10 to 15 mints for the response. Is it possible to check SEO status of a site in 15 mints? I hope, Most of the SEO's will say No. However i would say YES. SEO's might face the same problem while attending an interview, interviewers might ask you to analyze a site for 5 mints and requests to explain positive and negative factors of the site. There is a possibility to check all these factors with the help of few free tools. Following are the list of respective factors which needs to be analyzed for a quick review: Basic SEO Factors for Instant Analysis : Domain Extension Page Loading Time Page Rank Alexa Rank Google, Bing & Yahoo Indexed Pages and Back Links Domain Age Canonical Redirection Title & Meta Tags Header Tags Image Tags Xml sitemap Html sitemap Robots.txt Google analytics account Google webmaster tools account Each above factor will be explaine