scottparsons/module-cmscanonical

A Magento 2 module that adds a Canonical Link meta tag to CMS pages.

Maintainers

Package info

github.com/ScottParsons/module-cmscanonical

Type:magento2-module

pkg:composer/scottparsons/module-cmscanonical

Statistics

Installs: 29 263

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2019-01-01 14:01 UTC

This package is not auto-updated.

Last update: 2026-03-15 13:20:44 UTC


README

Overview

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).

Requirements

Magento Open Source (CE) Version 2.2.x

Installation

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

Usage

In the admin, head to Content -> Pages