Canonical Meta Tag (Canonical Tag), something you need to pay attention to when starting to launch an e-commerce site, as it is very important for your store SEO. In this article, I will show you how to enable Canonical Meta Tag in Magento 2. But first, let’s have a quick look at this type of tag.
What is Canonical Meta Tag?
Canonical Meta Tag is an element in HTML, it helps us to solve the problem of duplicate content when there are many different URLs but the same content. Only your original page will be indexed, thus helping your site get better search engine rankings.
Step by step
Step 1: Login to Magento 2 admin page, select STORE -> Configuration -> CATALOG -> Catalog.
Step 2: Expand the Search Engine Optimization section.
Use Canonical Link Meta Tag For Categories: Select Yes to enable Canonical tags with category pages.
Use Canonical Link Meta Tag For Products: Select Yes to enable Canonical tags with product pages.
Click Save Config to finish the process.