Canonicalization is the process of picking the best URL when there are several choices, and it usually refers to home pages. Canonical URL tag is part of the HTML header on any webpage, inside <head>...</head> section.

<link rel="canonical" href="" />

What is Canonical URL Tag?

This tag tells all the major search engine bots (Google, Bing & Yahoo!) that the page in question should be treated as though it were a copy of the URL and that all of the link & content metrics the engines apply should technically flow back to that URL.

Canonicalization helps to solve issues like www version vs. non-www version, re-directs, duplicate URLs, hijacking, etc... Avoiding duplicates in the search engine index has consistently been a key concern to all SEOs, Web Masters and Site Owners. When you use the <link> tag, you can indicate the canonical URL form for crawlers to use for each page of content, no matter how it was retrieved.

This puts the preferred URL form with the content so that it is always available to the crawler, no matter which session id, link parameter, sort parameter, parameter order, or other source of variance is present in the URL form used to access the page. When you have completely identical content, but with different URLs due to things such as a tracking parameters or a session ID:



This tag allows you to publicly specify your preferred version of a URL. 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.

So you can simply add this <link> tag to specify your preferred version (inside the <head> section):

<link rel="canonical" href="" />
And all the major search engine bots (Google, Bing & Yahoo!) will understand that the duplicates all refer to the canonical URL:

Additional URL properties, like PageRank and related signals, are transferred as well (this is the best part I liked about it).

Best Practices for Canonical URL Tag:

  • The URL paths in the <link> tag should not returns a 404 Error
  • Avoid that the Canonical URL is not a re-direct URL
  • The URL paths in the <link> tag can be absolute or relative, I recommend using absolute paths to avoid any chance of errors.
  • A <link> tag should only point to a canonical URL form within the same domain or sub-domain and not across domains. For example, a tag on can point to a URL on but not on or any other domain.
  • Don’t make half of your links go to and the other half go to Instead, pick the URL you prefer and always use that format for your internal links.

Duplicate content on a site is not grounds for action on that site unless it appears that the intent of the duplicate content is to be deceptive and manipulate search engine results. If search engines can't crawl pages with duplicate content, they can't automatically detect that these URLs point to the same content and will therefore effectively have to treat them as separate, unique pages.

A better solution is to allow search engines to crawl these URLs, but mark them as duplicates by using the <link rel="canonical" href="" /> link element, the URL parameter handling tool, or 301 redirects.


Add a comment

About the Author
Joydeep Deb

experienced in Online Marketing, Web Technologies, Search Engine Optimization, SEO, SEM, SMM, Web Master, eMail Marketing, Web Analytics, MIS Reporting, Web Design and Development.

Lives in Bangalore, Karnataka - India and working as an Program Manager SEO at Cisco Systems Inc.

Get social with Joydeep at Twitter | Facebook | Google+ | LinkedIn

Subscribe to Newsletter

Receive my latest posts right in your inbox? Enter your email address below to subscribe.

Blog SEO 2015 - Strategies, Trends and Techniques How to Update Nokia Phone Firmware / Software Types of Facebook Users (Fun Post) Website Analysis: Gain Authority, Popularity How to setup Custom Error Pages SEO Overview: What? Why? And How? How to Verify Authorship (rel='author') in Google SERP Website URL Structure Strategy How to avoid duplicate content issue caused by mobile website URL Rewriting SEO Friendly: Convert Dynamic URLs into Static URLs What should we do with the website expired pages? Leverage your .htaccess file efficiently Google Image Search: Observation Mobile SEO Best Practices All about SEO Meta Tags Page Speed Best Practices Social Media Share Button Update: Twitter Apps and You Yahoo! and Bing Search Alliance HTML5 Overview - Introduction to HTML5 Best Practices for Custom Error Page Geo Location Targeting in Google SERPs Social Media Mistake List of HTTP Response Status Codes How to position DIV at the center of web Google Search: Rich Snippets for Events How to Suck at Social Networking Send PPC traffic to landing page and not homepage XML Sitemap Best Practices What is Canonical URL Tag? Utilize your 'robots.txt' file efficiently Keys for a successful Website Why paid search numbers often don't match How Accurate is your Web Analytics Data Optimize Your Landing Pages Guidelines while building a Corporate Website Guidelines for eMail Newsletters DO's and DON'Ts - Search Engine Optimization (SEO) Search Engine Optimization (SEO) Gyan - Fundas Tools MISC