Type
magento2-module
A Magento 2 module that adds a Canonical Link meta tag to CMS pages.
magento2-module
MIT
None
None
None
None
None
None
A Magento 2 module that adds a Canonical Link
field to the Search Engine Optimisation
section when editing CMS pages in the admin under Content -> Pages
.
Particularly useful in preventing potential duplicate page content issues involving the home page
(where the BASE_URL
and BASE_URL/home
URLs are both accessible).
Magento Open Source (CE) Version 2.2.x
Include the package.
$ composer require scottparsons/module-cmscanonical
Enable the module.
$ php bin/magento module:enable ScottParsons_CmsCanonical
$ php bin/magento setup:upgrade
$ php bin/magento cache:clean
In the admin, head to Content -> Pages