Which is the better way to restrict Search Engines to index my Directory: "uploads" and the content in it? User-agent: * 1: Disallow: /httpdocs/php/uploads/ 2: User-agent: * Disallow: /php/uploads/ 3: User-agent: * Disallow: /uploads/ if I use /php/uploads/ will search engines not index my "PHP" Directory?
One more question, can I hide robots.txt file from visitors like if someone open the link "/httpdocs/robots.txt" but I dont want to show that which directory is most important but Search Engines can still read this robots txt file, is there any way?
I would like to prefer last option for restrict Search Engines. User-agent: * Disallow: /uploads/ It is better from all.