Skip to main content
  1. A canonical link element is a code level HTML element that helps webmasters and website owners prevent duplicate content issues by specifying the "canonical", or "preferred" version of a web page as part of the search engine optimization.
    1. Example: <link rel="canonical" href="https://www.magentosite.com/page1" />
    2. While the canonical link element has its benefits, Matt Cutts, who is the head of Google's webspam team, has claimed that the search engine prefers the use of 301 redirects over the canonical tag. Cutts claims the preference for redirects is because Google's spiders can choose to ignore a canonical link element if they feel it is more beneficial to do so.
    3. The canonical link is used for SEO that will describe the ‘proper’ link URL that should be used in the search results like Bing and Yahoo and others.
  2. For example:
    1. You are selling a t-shirt that that shirt is named “Killer Whale Tee” and is located in Women’s, Sale, and Tshirt categories.  In theory, there would be 3 URLs for each of those.
      1. https://www.fancyts.com/womens/killer-whale-tee
      2. https://www.fancyts.com/sale/killer-whale-tee
      3. https://www.fancyts.com/tshirt/killer-whale-tee
    2. But you just want to give the power to the base URL which is (without the category):
      1. https://www.fancyts.com/killer-whale-tee
By Michael Cristancho

I'm a Digital Commerce and Experience evangelist who enjoys engaging in thought-provoking conversation and mutual exploration. I am a strong believer that learning never ends, and each day brings another opportunity to grow as an individual and professional.