[TYPO3-UG Freiburg] meta-robots
Benjamin Keil
benjamecho at googlemail.com
Mon May 25 22:07:20 CEST 2009
@Christian und alle, die es sonst interessiert:
page = PAGE
page.meta.robots = index, follow
#per Condition überschreiben, z.B. ...
[PIDinRootline = 274,385]
page.meta.robots = noindex, follow
[global]
############################## so geht's auch ##################
page = PAGE
page {
headerData {
###
# robots Meta-Tag
###
3 = COA
3{
# robots: index (2) oder noindex (1), abhängig ob "Zeige den
Inhalt dieser Seite an:" verwendet wurde
1 = COA
1 {
if.isTrue.field = content_from_pid
1 = TEXT
1.value = noindex,follow
1.noTrimWrap = | <meta name="robots" content="|" />|
}
2 = COA
2 {
if.isFalse.field = content_from_pid
# robots: index (2) oder noindex (1), abhängig ob es eine
Galerie-Unterseite ist
1 = COA
1{
if.isFalse.data = GPvar : tx_gooffotoboek_pi1 | srcdir
1 = TEXT
1.value = index,follow
1.noTrimWrap = | <meta name="robots" content="|" />|
}
2 = COA
2{
if.isTrue.data = GPvar : tx_gooffotoboek_pi1 | srcdir
1 = TEXT
1.value = noindex,follow
1.noTrimWrap = | <meta name="robots" content="|" />|
}
}
}
}
}
More information about the TYPO3-UG-Freiburg
mailing list