Canonical Meta Tag in Magento 2
how to enable Canonical Meta Tag in Magento 2 by following this topic. The canonical meta tag is a very important meta tag in SEO and using the canonical meta tag can improve your site ranking and concentrate pageviews. It helps a lot in solving duplicate content problems when there are multiple URLs containing identical or very similar content so that the search engines can index exactly your preferred URL.
- On the Admin panel, click.
Stores
In the sectionSettings
, select.Configuration
- Select
Catalog
underCatalog
in the panel on the left - Open the Search Engine Optimizations section, and continue with following:
- Look at 2 last fields:
- If you want search engines to index only pages that have a full category path, do the following:
- In the
Use Canonical Link Meta Tag for Categories
field, selectYes
- In the
Use Canonical Link Meta Tag for Products
field, selectNo
- In the
- If you want search engines to index only product pages, do the following:
- In the
Use Canonical Link Meta Tag for Categories
field, selectNo
- In the
Use Canonical Link Meta Tag for Products
field, selectYes
- In the
- If you want search engines to index both Categories and Products, do the following:
- In the
Use Canonical Link Meta Tag for Categories
field, selectYes
- In the
Use Canonical Link Meta Tag for Products
field, selectYes
- In the
- When completing, click.
Save Config
- If you want search engines to index only pages that have a full category path, do the following: