Mobile app version of vmapp.org
Login or Join
Alves908

: Recommendations for Setup of Test Environment We host several sites on a Cloud server. It constantly seems to be getting picked up by Google, but our clients need to be able to access there

@Alves908

Posted in: #Php #Server #Testing

We host several sites on a Cloud server. It constantly seems to be getting picked up by Google, but our clients need to be able to access there in progress builds to add content. This brings with it several problems because we can't assign ips to block as most clients would be on a dynamic ip.

Is there any recommendations for any sort of portal system that would allow us to have quite alot of sites based off the portal domain and accessed seperately via a username and password. Even if with the one password you could still view someone elses site?

Our setup is currently used for Magento / Wordpress sites and as such obviously needs to be php5.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Alves908

1 Comments

Sorted by latest first Latest Oldest Best

 

@Welton855

If you only problem is that the test sites is being index by Google bot, then you can use the X-Robots-Tag to tell Google bot to stop indexing.

With PHP:

header("X-Robots-Tag: noindex, nofollow", true);


Or in the .htaccess or httpd.conf:

<IfModule mod_headers.c>
Header set X-Robots-Tag: "noindex"
</IfModule>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme