Hi How would I stop a robots.txt from indexing a test site on my domain as its causing duplicate content issues. For example how do you stop google from indexing http://testsite.mydomain.co.uk in the robots.txt file - I have not got a robots.txt file at the moment
Place the following in a robots.txt file and then upload it to your server root: User-agent: * Disallow: /