[Typo3] 'No search' option controlling <meta name="robots" />

Robert Markula robert.markula at gmx.net
Tue May 10 12:37:55 CEST 2005


Markus Lange wrote:
> Robert Markula sagte:
> 
>>How can I do this with TypoScript?
> 
> 
> untested but should work:
> 
> 
> page.headerData.123 = COA
> page.headerData.123 {
>    10  = TEXT
>    10.value = <meta name="robots" content="all" />
>    10.if.isFalse.field = no_search //actualydontknowfieldname
> 
> 
>    20  = TEXT
>    20.value = <meta name="robots" content="none" />
>    20.if.isTrue.field = no_search //actualydontknowfieldname
> 
> }

Works perfectly.
Thank you!

Ro



More information about the TYPO3-english mailing list