[TYPO3-dev] Meta tag "noindex, nofollow" on development domain
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Wed Aug 18 23:47:45 CEST 2010
Christian Kuhn wrote:
> Solve it with a condition bound to your dev domain (you probably need
> the same to disable google analytics on dev, or to set correct baseUrl
> on dev):
>
> ...
>
> This way you can deploy the condition to your production system as well
> and don't need to change anything during deployment process.
Neat, working like a charm. I'm curious, will the different version
(page source with and without meta tags, google tracking, etc.) be
cached independently, based on those different states?
Because it seems the website gets - of course - cached somehow. So I'm
wondering if caching also depends on those conditions?!
> Still, it's usually a good idea so secure access to your dev domain with
> a .htaccess password, or restrict access to dev with some other method.
Generally I agree. As for our needs it makes sense to leave access
public, as clients are allowed to check status from time to time and
setting access restrictions (whether based on IP or anything else) would
just make all processes much more complicated.
There are just some things (search engine indexing, google tracking,
etc.) which came in our way, which we need to solve now.
So thanks for your hint on the ENV:HTTP_HOST condition, I've implemented
the condition with a wildcard, like this:
[globalString = ENV:HTTP_HOST = *.dev-server.com]
Nevertheless I'd appreciate it if someone of you could bring up some
arguments why it can make sense to completely deny access to the public
on websites which are under current development!
Thank you,
Thomas
More information about the TYPO3-dev
mailing list