DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Canonical tag for duplicate content

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed by:Georg Ringer
Changed:2009-04-21T12:13:49.570000000
Classification:canonical
Keywords:canonical, seo, duplicate content
Author:Georg Ringer
Email:http://www.cyberhouse.at
Info 4:
Language:en

img-1 img-2 EXT: Canonical tag for duplicate content - canonical

EXT: Canonical tag for duplicate content

Extension Key: canonical

Language: en

Keywords: canonical, seo, duplicate content

Copyright 2000-2008, Georg Ringer, <http://www.cyberhouse.at>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: Canonical tag for duplicate content 1

`Introduction 3 <#1.1.Introduction|outline>`_

What does it do? 3

Screenshots 3

`Users manual 4 <#1.2.Users%20manual|outline>`_

TT_news and the backPid 4

MountPoints 4

Show content from this page instead 4

`Configuration 5 <#1.3.Configuration|outline>`_

FAQ 5

Reference 5

`Known problems 6 <#1.4.Known%20problems|outline>`_

`To-Do list 7 <#1.5.To-Do%20list|outline>`_

`ChangeLog 8 <#1.6.ChangeLog|outline>`_

Introduction

What does it do?

This extension introduces the canonical tag which avoids bad ranking of your website if you are using duplicate content. The tag is used in the following use cases:

  • tt_news and the backPid
  • MountPoints
  • Option “Show content from this page instead”

The canonical tag is supported by the companies Google, Microsoft and Yahoo.

This extension is no magical machine and doesn't care about duplicate content which is created by an editor himself or by using the cObj RECORDS or CONTENT!

|img-3| This extension has been created by CYBERhouse

Screenshots

Sorry, there are no screenshots because this extension just creates one line in the source code.

Users manual

To use this extension you just need to follow this steps:

Install the extension

If your PAGE object is named “page”, you are done. If not, check out the next chapter in this manual.

TT_news and the backPid

The backPid is used inside tt_news if you use more than one LIST view and one SINGLE view to get from the backPid back to the correct list page. Because of different parameters in the url, search bots will recognize the SINGLE page as duplicate content.

The extension canonical creates the tag with a link to the SINGLE page without the backPid.

Important: This extension will not resolve the troubles you still have with indexed_search and duplicate content or bigger cache tables!

MountPoints

MountPoints are used to show one page or a page tree on a different place again. This is the best example for duplicate content because the page (or a part of the tree) is identical with other pages of your website

The extension canonical creates the tag with a link to the original page.

Show content from this page instead

The option “Show content from this page instead” inside the page properties allows an editor to display on one page the content of another one.

img-4

The extension canonical creates the tag with a link to the original page.

Configuration

This extension is automatically loaded by using the code you can find in the file ext_typoscript_setup.txt

includeLibs.tx_canon = EXT:canonical/class.user_canonical_check.php
page.headerData.3275 = USER
page.headerData.3275 {
        
        
}

FAQ

  • If your PAGE object isn't called “page”, you need to copy the content of that file and rename “page” to the name you are using.
  • If you are using “page.headerData.3275” already, copy everything to your TS and rename the number to something else.

Reference

All configuration takes place inside page.headerData.3275.

debug

Property

debug

Data type

boolean

Description

Enable it to show at the top of the page the link tag which will be created for this page.

Default

0

checkMP

Property

checkMP

Data type

boolean

Description

Enables the check for MountPoints

Default

1

checkContentOfPage

Property

checkContentOfPage

Data type

boolean

Description

Enables the check for “Content from this page instead”

Default

1

checkTTnews

Property

checkTTnews

Data type

boolean

Description

Enables the check for the backPid of tt_news. You don't need to disable this if tt_news is not installed, nothing will happen!

Default

1

[tsref:page.headerData.3275. ]

((generated))
Example

Here you would show an example of the stuff from the reference or so:

page.headerData.3275 {
    debug = 1
}

Known problems

It isn't a real problem but this extension won't do anything in all other cases of duplicate content.

To-Do list

Create a general approach for other extensions and it's backPids

ChangeLog

Take a look at the changelog file

8