Googlebot keeps trying to call ajax methods on my website.
For example: default.aspx/GetStuffWithAjax
The problem is that this method should be impossible for google to call since im checking with javascript if the querystring has id=xxxx before calling it. There is no link anywhere with this querystring that google could follow.
Is is possible that the bot scans for PageMethods.GetStuffWithAjax in my html code and then just tries to call the ajax method? And how could I prevent this.. Anyone?
Put
Disallow: /GetStuffWithAjaxas a line in yourrobots.txtfile at your domain’s root.