3.7.1. Canonical URLs

Due to SEO reasons it is recommended to use canonical URL tags for pages that are either accessed by multiple URLs or that have very similar content (duplicate content). Having pages with duplicate content will penalize the shop’s SEO performance. Using canonical tags guide Google to the canonical version of the page and thus the crawl budget will be used more efficiently which in turn improves the SEO performance. For more details please see the Google recommendation here: https://support.google.com/webmasters/answer/139066?hl=en

 

Magento 2 sets canonical tags per default. The default Magento 2 canonical tags exclude the category path in the URL such as

 

 

 

will have the canonical tags

 

 

 

 

In the MageSuite you can set canonical tags manually. In order to activate this possibility access STORES / SETTINGS / CONFIGURATION and navigate to MAGESUITE and SEO. In the CANONICAL TAG FOR OTHER PAGES dropdown select “YES”.

Figure 132 Configuration of Canonical Tags (admin panel)

 

 

In order to set canonical tags per product access CATALOG / INVENTORY / PRODUCTS and click “EDIT” in the product entry you want to set the canonical tags in. Scroll down to SEARCH ENGINE OPTIMIZATION. In the CANONICAL URL input field you can now enter the URL of the canonical tag to be used. This URL will replace the native Magento 2 canonical URL. When this is done click “SAVE” in the top section on the right-hand side.

 

Figure 133 Setting Canonical Tag per product (admin panel)