I'm creating a site locally, though I want to test it live.
I don't have any hosting at the moment, though I'm able to host it on a friends site I created for her some time ago.
However, I don't want the folder and its contents to get indexed by any search engines.
I read that I can use the below rule within robots.txt
My question is, will this work being placed within a specific folder, or is it something that only works from root for the entire site.
If the later, is there a way to do it?