I have a page; home.php, it does an ajax call to /ajax/latestreviews.php.
However Google/Bing are attempting to index latestreviews.php, how can I stop this?
An obvious answer is to include /ajax in the robots.txt or include X-Robots-Tag "noindex" in the header of latestreviews.php. But from my reading Google suggest important resource files (to the page) should not be excluded through robots. Also that included the robots-tag can negatively affect the calling page.
So I was wondering how people are achieving this?