What is a “canonical link element”? – Magento 2 Certified Solutions Specialist

        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 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
Facebooktwittergoogle_plusredditpinterestlinkedinmail

Search