.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ======================================== 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: EXT: Canonical tag for duplicate content ======================================== Extension Key: canonical Language: en Keywords: canonical, seo, duplicate content Copyright 2000-2008, Georg Ringer, 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: Table of Contents ----------------- `EXT: Canonical tag for duplicate content 1 <#1.EXT:%20Canonical%20tag%20for%20duplicate%20content|outline>`_ **`Introduction 3 <#1.1.Introduction|outline>`_** `What does it do? 3 <#1.1.1.What%20does%20it%20do_|outline>`_ `Screenshots 3 <#1.1.2.Screenshots|outline>`_ **`Users manual 4 <#1.2.Users%20manual|outline>`_** `TT\_news and the backPid 4 <#1.2.1.TT_news%20and%20the%20backPid|outline>`_ `MountPoints 4 <#1.2.2.MountPoints|outline>`_ `Show content from this page instead 4 <#1.2.3.Show%20content%20from%20this%20page%20instead|outline>`_ **`Configuration 5 <#1.3.Configuration|outline>`_** `FAQ 5 <#1.3.1.FAQ|outline>`_ `Reference 5 <#1.3.3.Reference|outline>`_ **`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: Introduction ------------ .. _What-does-it-do: 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: Screenshots ^^^^^^^^^^^ Sorry, there are no screenshots because this extension just creates one line in the source code. .. _Users-manual: 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: 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 ^^^^^^^^^^^ 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: 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: 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: 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: Reference ^^^^^^^^^ All configuration takes place inside page.headerData.3275. .. ### BEGIN~OF~TABLE ### .. _link: link """" .. container:: table-row Property link Data type stdWrap Description StdWrap functionality for the generated link. Default is to wrap the canonical tag around it. :: link { noTrimWrap = || } Default .. _debug: debug """"" .. container:: table-row 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: checkMP """"""" .. container:: table-row Property checkMP Data type boolean Description Enables the check for MountPoints Default 1 .. _checkContentOfPage: checkContentOfPage """""""""""""""""" .. container:: table-row Property checkContentOfPage Data type boolean Description Enables the check for “Content from this page instead” Default 1 .. _checkTTnews: checkTTnews """"""""""" .. container:: table-row 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 .. ###### END~OF~TABLE ###### [tsref:page.headerData.3275. ] .. _generated: ((generated)) """"""""""""" .. _Example: Example ~~~~~~~ Here you would show an example of the stuff from the reference or so: :: page.headerData.3275 { debug = 1 } .. _Known-problems: 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: To-Do list ---------- Create a general approach for other extensions and it's backPids .. _ChangeLog: ChangeLog --------- Take a look at the changelog file 8 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :border: 0 .. :height: 21 .. :hspace: 9 .. :id: Grafik2 .. :name: Grafik2 .. :width: 87 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 75 .. :name: HTTP://WWW.CYBERHOUSE.AT/ .. :width: 250 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 81 .. :id: Grafik1 .. :name: Grafik1 .. :width: 357