: Why is Googlebot calling an AJAX method with GET rather than POST? I have an AJAX call on my site that does a POST and returns data. Googlebot is crawling these URLs but it is attempting
I have an AJAX call on my site that does a POST and returns data. Googlebot is crawling these URLs but it is attempting to use a GET method rather than a POST. This is causing hundreds of 404 error messages appearing in Google Search Console.
Is there a best practice for this? Should I made the method HTTP GET AND POST to remedy these 404 errors?
More posts by @Kimberly868
2 Comments
Sorted by latest first Latest Oldest Best
GET requests could be seen as unique url. So any bot can access get data more quickly as unique url and judge contents.
You can also cross verify all GET ajax calls againsts request url and desired format.
Googlebot only performs POST requests under very limited circumstances where it is believed by the Googlebot that it is safe and appropriate. Google takes precautions to avoid performing tasks on a site that could result in executing an unintended user action and Google making POST requests is for crawling purposes only to index what the end user would see.
Google states in its webmasters blog that to make your site better for crawling remember that Google prefers GET for fetching requests unless there is a very specific reason to use POST.
A good rule of thumb to follow is...
A GET request is used to get data from the server.
A POST request is used for modifying data on the server
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.