How can I prevent Google and other search engines from indexing my website?
+2
A:
Create a robots.txt
file in your site root with the following content:
# robots.txt for yoursite
User-agent: *
Disallow: /
Search engines (and most robots in general) will respect the contents of this file. You can put any number of Disallow: /path
lines for robots to ignore. More details at robotstxt.org.
Rex M
2009-10-30 01:04:13