Automatically logging in to Google Web Crawler

I would like to automatically detect Google and other crawlers and write them to my ASP.NET site. Has anyone found a reliable way to do this? Part of the entrance is easy, but reliably detecting them is a real problem.

Sincerely.

+3
source share
4 answers

Take a look at user-agent. It must be googlebot. A more reliable way is to reverse lookup IP addresses. It will tell you whether it is a Google bot or not. I would use both methods. BUT NOTE: you will slow down your site as you will do a reverse search for each visitor.

http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=80553

+2

, - , Google , , , - , -.

-, User Agent. , IP-, , Google IP-, .

DNS- , googlebot.com, Googlebot, , .

+6

. . , , Googlebot IP-. , .

+1

Source: https://habr.com/ru/post/1717879/


All Articles