Need to block indexing of special shop

our setup are two shops, which only differ in pricing. the second shop has a b2b subdomain prefix.
i need to avoid double indexing by search robots, so i thought of two possible ways:

  1. robots.txt - this option would require to run the secondary shop without the b2b subdomain - is that possible?

  2. i thought it might be much more elegant to just check in the _header.tpl file if the secondary shop is displayed and to add a meta no follow tag here. my problem is, that i do not know which object/variable i need to check for the shopid - can somebody help?

thank you,


I think the most simple way is to work with Google webmaster tools in this case.