Hervé wrote: ↑Sat Jul 30, 2022 10:50 am
Once again I don't want to block anybody.
I would like the bots to be identified as such and not as guests.
There is two kinds of bots. Those that identify themselves with a user agent which can be added to the bots group. As far as adding them you are going to use unique string in the user agent. For example from the one you posted above next Agent match: put
DataForSeoBot
.
You need to be careful with the agent match that it's fairly unique. On the other the reason you don't simply use the whole string is some of it can change over time.
The other kind of bots are ones scraping your site or whatever else they are doing. These can't be identified through the user agent because they use common browser user agents. There is no way to handle these through phpBB.
Lastly user agents are not reliable by themselves even for legitimate bots. You can for example use a user agent switcher for your browser and browse your forum as Google. This can actually helpful to see exactly how a bot views your forum. To absolutely identify them you need to do it by IP, Google and other legitimate bots have known range of IP's.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”
Attributed - Thomas Edison