So, I have Wordpress running in the root directory of my webspace; I'll install another Wordpress instance in a subdirectory of the same server in a couple of days for testing purposes. So here's the thing, I don't want this Wordpress instance, any of it's pages, posts or anything from that subdirectory to show up in Google and the like. So I'm looking for a way to apply noindex, nofollow (and what else?) to this subdirectory and all files and subdirectories in it. What is the easiest way to achieve this (for example, can I use the .htaccess file, or is there a wordpress plugin that does this for me)?
I't very important that the main Wordpress installation and it's SEO are not affected by this.