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.
From your Dashboard go to:
Refresh the site and take a look at the source, there is now a
<meta name='robots' content='noindex,follow' />
on each page. Also in the robots.txt file there is not the following