Question

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?

Was it helpful?

Solution

Put Disallow: /GetStuffWithAjax as a line in your robots.txt file at your domain's root.

OTHER TIPS

You can use robots.txt to tell Google (and other good bots) not to go there. Check here:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top