[TYPO3-dev] Meta tag "noindex, nofollow" on development domain

Christopher Torgalson bedlamhotel at gmail.com
Thu Aug 19 00:12:30 CEST 2010


Hi,

On Wed, Aug 18, 2010 at 2:57 PM, Thomas "Thasmo" Deinhamer
<thasmo at gmail.com> wrote:
> Davide Principi wrote:
>>
>> ...of course a TS condition is needed: perhaps "hostname" method is your
>> case!
>
> Thanks, Christian Kuhn pointed out an ideal solution:
>
> # Switches for dev
> [globalString = ENV:HTTP_HOST=dev.domain]
>    page.meta.robots = noindex, nofollow
>    config.baseURL = http://dev.domain/
> [global]


I can't offer an opinion about how severe it is, but this method is
risky to some extent (it used to be possible to set config.baseURL to
the value of HTTP_HOST automatically, but this capability was removed
due to the risk).

See e.g. this recent thread:
http://lists.typo3.org/pipermail/typo3-english/2010-July/069772.html

-- 
Christopher Torgalson
http://www.typo3apprentice.com/




More information about the TYPO3-dev mailing list