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

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Tue Aug 17 23:58:02 CEST 2010


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