Typo3 – Einbinden von canonical Tag

Search
  • Blog
  • About
  • Services
  • Work
  • Contact
  • News
  • Articles
  • Twitter

  • TYPO3 – Bild Qualität ändern
  • Typoscript – JavaScript im Footer auslagern
  • Typo3 – tt_news Dokument speichern und Webseite anzeigen
  • Templavoila – Maximale Bildgröße im Contentbereich
  • Typo3 – tt_news cache deaktivieren
Blog Archiv
  • Typo3 – Auslagern von Typoscript in externe Datei
  • Typo3 – Einbinden von canonical Tag
  • Typo3 – Browserweiche (Conditional Comments)
  • Typo3 – onfocus=”blurLink(this)” in Sitemaps entfernen
  • Typo3 – Sitemap target definieren
Tutorials Archiv

24th February, 2009

Typo3 – Einbinden von canonical Tag

3 comments

Typo3Über das sogenannte kanonische Tag “canonical” kann man auf den jeweiligen Ursprungsbeitrag verlinken. Es dient dazu Duplicate Content für die Suchmaschinen identifizierbar zu machen.

<link rel="canonical" href="http://www.domain.de" />

Mit ein wenig Typoscript lässt sich das Problem mit Duplicate Content vermeiden.

// Typoscript Constants
baseUrlOn = 1
baseUrl = http://www.domain.de/

// Typoscript Setup
lib.canonicalTag = TEXT
lib.canonicalTag {
typolink.parameter.data = TSFE:id
typolink.returnLast = url
wrap = <link rel="canonical" href="{$baseUrl}|"  />
}
page.headerData.1000 < lib.canonicalTag

Tags: canonical, google, typo3

Kategorie tutorials | 3 comments



RSS
Follow me on Twitter

About this blog

This website was developed by Markus Bäck based in Tutzing (Starnberger See) using XHTML, CSS, JavaScript and PHP, handcoded in Notepad++. Powered by the Almighty Wordpress.

Resources

  • CSS-Tricks
  • faktor23.de
  • Smashing Magazine

Blogroll

  • Oxid Freelancer
  • TYPO3 Agentur München
  • TYPO3 Freelancer
  • TYPO3 Programmierer

Work

  • stream5 GmbH
  • Guido Schindler Delikatessen | Feinkost - Bistro - Partyservice - Starnberger See
  • ViCommerce GmbH
Copyright © 2012 just4freaks.de Designed and managed by Webdesign Starnberg