3 ms·
You can detect Googlebot by IP address or User-Agent which is much easier.
by codedokode 9y ago
You can detect Googlebot by IP address or User-Agent which is much easier.
- lucb1e 9y agoWell, presumably some people want to pose as Google to view content which is reserved to logged in members or bots, in which case the user agent is not advisable.. but indeed, IP address.
- TomAnthony 9y agoYes you can - but it lacks the 'plausible deniability'. Especially if you have it in your frontend code. :)
- realPubkey 9y agoAfter doing seo for 10 years, I assure you that plausible deniability will not give you an advantage. Google will punish your site and not listen to your arguments.