We are using cookies to give you the best experience on our website. Learn more.
Magento 2 Canonical URL Extension
Canonical URL Extension for Magento 2 allows you easily configure canonical URL on your own website. As a result, search engines will determine exact URL that you want to see in search results, will combine information for separate similar or duplicate pages in one main URL, will be able to optimize resource costs for crowling duplicate pages and so on. Canonical URL Extension for Magento 2 will help search engines to index your site more efficiently.
Canonical URL of the product page
In configuration settings you can specify what type of canonical URL you want to use on the product page. If category path is used in product URL, the canonical URL of product can be generated based on minimum or maximum nesting of categories, or without a category path at all.
The canonical URL of the parent product (Configurable, Grouped and Bundle products) can be used as the canonical URL for child's products (relevant if the child products are visible on your store's front-end).
Canonical URL Extension for Magento 2 adds new Canonical URL attribute for the product. Use the Canonical URL attribute to specify a link to another entity or to indicate a cross-domain сanonical URL.
You should not use the Canonical URL attribute to indicate a link to the same entity, but accessible from a different URL (this situation is possible on products that are assigned to several categories), because this task is solved by configuration settings and the current logic is used in compatibility with other modules (Magento 2 Hreflang Extension).
Canonical URL of the category page
In the configuration settings you can specify whether to use the page parameter when generating the canonical URL for Paginated Pages. You can also determine whether to add rel="prev/next" link to Paginated Pages.
Specify whether to use filter parameters when generating canonical URL for Filtered Pages or not to add сanonical URL at all for this page.
Canonical URL Extension for Magento 2 adds a new Canonical URL attribute for a category, with which you can specify a link to another entity or a cross-domain сanonical URL.
Canonical URL of the CMS page
In the configuration settings you can specify whether to use the Trailing Slash for the сanonical URL of the home page.
Canonical URL Extension for Magento 2 adds a new attribute Canonical URL for the CMS page, with which you can specify a link to another entity or a cross-domain сanonical URL.
Magento GraphQL support
A free module that provides Magento GraphQL support for this extension is available in the GitHab repository.
One of the main uses of GraphQL in Magento 2 is to create Progressive Web Application (PWA) storefronts. Magento GraphQL support allows you to integrate the extension with any PWA storefronts, getting all the features of the extension.
Сross-domain сanonical URL
To configure the cross-domain canonical url, use the configuration settings, and you can also use the new Canonical URL attribute that has been added for the product, category and CMS page.
Canonical URL and Robots Meta Tag
Canonical URL is not added to the page with the Robots Meta Tag containing the NOINDEX directive. Use Magento 2 Meta Robots Extension to configure Robots Meta Tag on your website pages.
Compatibility
Canonical URL Extension for Magento 2 is compatible with Magento 2 Hreflang Extension, Magento 2 Meta Robots Extension, Magento 2 Rich Snippets Extension, Magento 2 XML Sitemap Extension.
For full SEO customization on your website, use the Magento 2 SEO Extension.