lerni/silverstripe-canonical
Composer 安装命令:
composer require lerni/silverstripe-canonical
包简介
A SilverStripe module to add canonical tag in SilverStripe 3
README 文档
README
Adds a simple rel=canonical tag to SilverStripe 3.x
Requirements
SilverStripe 3.6.x < 4
Installation
- Install the code with
composer require lerni/silverstripe-canonical - Run a
dev/build?flushto update your project
Config
You need to set the extensions in your config.
Page:
extensions:
- CanonicalExtension
SiteConfig:
extensions:
- CanonicalSiteConfigExtension
Usage
This module adds a simple canonical tag to your pages to allow for the specification of the default domain or a specific tag per Page. The canonical tag allows you to signal to search engines like Google which is the authoritative version of the page to help reduce duplicate content issues caused by non-www versions, pages with different protocols, etc.
统计信息
- 总下载量: 1.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-04-26