I want to allow only GoogleBots.
Is there a way to do that?
I want to allow only GoogleBots.
Is there a way to do that?
From what I can tell you’ll need the Enterprise plan and use bot tags* and WAF to do that:
https://developers.cloudflare.com/bots/plans/bm-subscription/
*maybe not currently:
Bot Tags Limitations
Currently, Bot Tags are only available in log fields.
Future work will add more values and extend Bot Tags to other Cloudflare products.
Known Bots (cf.client.bot
) will be true for the actual Googlebot - so you can just check if cf.client.bot
is true and the User-Agent includes Googlebot
But that’s a lot of other friendly bots, including other Google crawlers, that you’d be blocking - so I’d recommend just sticking with cf.client.bot
overall
thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.