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

Sebastian Michaelsen sebastiangebhard at hoch2.de
Wed Aug 18 14:29:18 CEST 2010


Another solution from the SEO point of view could be to set a canonical 
Tag from the Dev URLs to the corresponding Live URLs. Just for 
completeness...

Am 17.08.10 23:58, schrieb Thomas "Thasmo" Deinhamer:
> Hello!
>
> In our agency we develop each website using a temporary
> development-domain, which looks similar to "project.our-agency.com".
> After the website goes live it is still reachable via the development
> domain for different reasons, like when DNS problems occur or if it's
> just needed to access the website without using the main/real domain.
>
> One problem using this approach is, that Google sometimes tends to index
> those development domains, which is - of course - unwanted.
>
> Now I'm wondering if it's possible to add a meta tag "noindex, nofollow"
> to the websites source, only if the website is accessed over the
> development domain. If so, what would be the best solution? Is it
> possible to use TS and a TS condition on the HTTP_HOST or similar?
> What I'm concerned about is, that the meta tag should be cacheable, but
> I think this is not possible using this approach?
>
> Actually I think this is the best solution for this problem, but I
> appreciate any other useful solution or feedback about this!
>
> Thanks a lot,
> Thomas





More information about the TYPO3-dev mailing list