canonical-meta-tag-magento-2-seo

How to Enable Canonical Meta Tag in Magento 2 SEO

Posted by

Make an assumption that your articles on the website have the same contents, which makes Google  result page will be decreased and no firm wants this to happen. Canonical Meta Tag is a good method to solve this problem by informing search engines the page with the same content to index. It is put in the beginning block of a product page or category page. A link will be given to your preferred URLs so that search engines estimate to give it a higher weight. Here are three examples of Canonical Meta Tag to give you a better understand.

  • Example 1: Category Path Creates Duplicate URLs

In case of your catalog in configured to consist of the category path in product URLs, diversified URLs will be produced in your store that direct to the similar product page.

http://mystore.com/driven-backpack.html

  • Example 2: Category Page Full URL

The category page of a store will contain a canonical URL to the full category URL in case canonical meta tag for categories are allowed.

http://mystore.com/gear/bags/driven-backpack.html

  • Example 3: Product page URL

The product page contains a canonical URL to the domain-name/product-url-key in case of equipping canonical meta tags for products (http://mystore.com/driven-backpack.html). By using its full URL, the product can be entered via this full URL which also contains the category.  

http://mystore.com/gear/bags/driven-backpack.html

There are two ways of preventing your store from being punished by search engines: exclude the category from the URL or utilize the canonical meta tag. But you should enable canonical meta tags for both categories and products as well.

6 steps to use the canonical meta tag:

1. Go to Store on the Admin sidebar ➨ select Configuration on the Settings.

2. Under Catalog, on the left select Catalog.

3. Enlarge the Search Engine Optimization section.

You have to clear the Use system value checkbox firstly if there is             any new changes in any field values

canonical-meta-tag-magento-2-seo
Canonical Meta Tag – Magento 2 SEO

4. In case of you allow search engines to index only category pages by the useage of the full category path, follow the instruction:

  • Select “Yes” for Use Canonical Link Meta Tag for Categories.
  • Select “No” for Use Canonical Link Meta Tag for Products.

5. In case of you allow search engines to index product page by utilizing the domain-name/product-url-key format, follow the instruction:

  • Select “Yes” for Use Canonical Link Meta Tag for Products.
  • Select “No” for Use Canonical Link Meta Tag for Categories.

6. When you finish, select Save Config.

Leave a Reply

Your email address will not be published. Required fields are marked *