Hello,
we are trying to create a "development" domain space:
- project1.example.com
- project2.example.com
- project3.example.com
Our goal is to disallow indexing of these websites. Simpliest way would be to create a robots.txt files for each website, however, we would like to use Apache RewriteRule to redirect requests like:
proj1.example.com/robots.txt >> example.com/robots.txt
example.com is an empty website. example.com/robots.txt contains crawler rules (disallows all).
What would ideal if the redirect would take place for all subdomains, regardless of wherther they have their own robots.txt file or they don't.
We couldn't find any options to accomplish this. Placing .htaccess in top level domain doesn't apply the rules to subdomains. I checked Plesk with a regular, should I check with admin account?
Is it even possible t accomplish this in Plesk 11.0.9?
There question is also described here:
http://stackoverflow.com/questions/...for-domain-and-its-subdomains-in-plesk-11-0-9
we are trying to create a "development" domain space:
- project1.example.com
- project2.example.com
- project3.example.com
Our goal is to disallow indexing of these websites. Simpliest way would be to create a robots.txt files for each website, however, we would like to use Apache RewriteRule to redirect requests like:
proj1.example.com/robots.txt >> example.com/robots.txt
example.com is an empty website. example.com/robots.txt contains crawler rules (disallows all).
What would ideal if the redirect would take place for all subdomains, regardless of wherther they have their own robots.txt file or they don't.
We couldn't find any options to accomplish this. Placing .htaccess in top level domain doesn't apply the rules to subdomains. I checked Plesk with a regular, should I check with admin account?
Is it even possible t accomplish this in Plesk 11.0.9?
There question is also described here:
http://stackoverflow.com/questions/...for-domain-and-its-subdomains-in-plesk-11-0-9