Magento Open Source 2.2.x

Magento 2.2.x Notice: As outlined by the Magento Software Lifecycle Policy, Magento 2.2.x has reached the End-of-Support and will no longer receive quality fixes or documentation updates. To maintain your site's performance, security, and PCIPayment Card Industry: Refers to debit and credit cards and their associated businesses. compliance, upgrade to the latest version of Magento.

The online Magento 2.2.x User Guide is scheduled for removal, but will remain available in PDF for Open Source, Commerce, and Commerce for B2B.

Canonical Meta Tag

Some search engines penalize websites that have multiple URLs that point to the same content. The canonical meta tag tells search engines which page to index when multiple URLs have identical or very similar content. Using the canonical meta tag can improve your site ranking and aggregate pageviews. The canonical meta tag is placed in the <head> block of a product or categoryA set of products that share particular characteristics or attributes. page. It provides a link to your preferred URLUniform Resource Locator: The unique address of a page on the internet., so search engines will give it greater weight.

You can avoid being penalized by search engines by omitting the category from the URL, or by using the canonical meta tag to direct search engines to index either by product or category. As a best practice, it is recommended that you enable canonical meta tags for both categories and products.

To enable the canonical meta tag:

1. On the Admin sidebar, tap Stores. Then under Settings, choose elect Configuration.
2. In the panel on the left under Catalog, choose Catalog.
3. Expand the Search Engine Optimization section.

To change any field values, you must first clear the Use system value checkbox after each field.

4. If want search engines to index only category pages using the full category path, do the following:
a. Set Use Canonical Link Meta Tag for Categories to “Yes.”
b. Set Use Canonical Link Meta Tag for Products to “No.”
5. If you want search engines to index product pages only using the domain-name/product-url-key format, do the following:
a. Set Use Canonical Link Meta Tag for Products to “Yes.”
b. Set Use Canonical Link Meta Tag for Categories to “No.”
6. When complete, tap Save Config .