I want to remove some pages from Google's index and i beleive using a robots.txt command is the way to do it (i've heard it is anyway) The pages in my site are all .php pages. is there a format i need to put the robots.txt code in to make sure it works? which code do i use?
Just, User-agent: Googlebot Disallow: / You can also block access to certain directories User-Agent: Googlebot Disallow: /folder1/ Allow: /folder1/myfile.html