Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

lerni/canonical

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

silverstripe-canonical

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?flush to 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages