Typo3 München Wordpress Starnberg  Freelancer

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

  • Wordpress 3 Custom Post Types
  • Wordpress Admin Passwort zurücksetzen
  • Typo3 – Sprachen konfiguration (Typoscript)
  • Cross Browser CSS Transforms (IE Support)
  • Wordpress Attachments (Dateianhänge)
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

0 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 | 0 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
  • Smashing Magazine

Blogroll

  • faktor23.de
  • Freelancer Typo3
  • maize.design
  • musichearts.org

Work

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