May not be the best place for this question, but if I disallow a Robot from a file that is included in another file, will that affect the indexing?
e.g. I have a PHP Header file, which I don’t want indexed on its own because it means nothing. If I set Robots.txt to Disallow: /Header.php will this cause problems when I include the file within the Default.php?
Definitely won’t matter. But also most likely isn’t necessary. There probably isn’t any links to your header.php file so google doesn’t even know about it. And if it did, I would think it’s smart enough to understand what’s happening and not list it in any results.