Hi, I have the following entry in my Awstats file: Unknown robot (identified by 'bot*') Code (markup): How can I block this bot? I tried the following separately but none of them seems to be catching it: RewriteCond %{HTTP_USER_AGENT} ^bot* RewriteCond %{HTTP_USER_AGENT} bot\* RewriteCond %{HTTP_USER_AGENT} bot[*] Code (ApacheConf): Thanks for any ideas.
Thanks for the link, I will check it. I later noticed that my Awstats is an old version and this bot (bot*) is either bingbot or YandexBot, so no need to block it.
There was very helpful post on MOZ about blocking bots via .htaccess https://moz.com/blog/how-to-stop-spam-bots-from-ruining-your-analytics-referral-data