server
block for your website, it is important that this directive is set before any of your routing for XenForo happens. I like to return 418 I'm a Teapot
to robots that I block (for a laugh), but generally a 403 Forbidden
is the better response code.if ($http_user_agent ~* (ahrefs|semrush|serpstat|majestic)) {
return 418;
}
.htaccess
file (Apache) or .conf
(LiteSpeed)RewriteEngine on
RewriteCond %{HTTP_REFERER} ahrefs|semrush|serpstat|majestic [NC]
RewriteRule . - [R=418,L]
bandwidth utilization? Many of those bots don't really do ANYTHING for your site SEO.may be a stupid question but why would you block the bots
Agree with you. Those bots add nothing. On my forum they are there all the time non stop.bandwidth utilization? Many of those bots don't really do ANYTHING for your site SEO.
thank you never knew thatAgree with you. Those bots add nothing. On my forum they are there all the time non stop.
Hello digitalpoint. Do you perhaps have a list of bots that should be blocked? And is there a guide on how to do this quickly and effectively via Cloudflare?If your site uses Cloudflare (the site in your signature does), you can block the request at the network edge before it even gets to your server with Cloudflare.
Cloudflare allows you to block requests based on user agent.
View attachment 269341
View attachment 269342
You can also manage Cloudflare firewall rules without leaving the XenForo admin (if you want):
[DigitalPoint] App for Cloudflare®
Features Everything is available from within XenForo (you do not need to go to Cloudflare for things) via the Cloudflare API. This allows you give admins permission to do certain things (for example block IP addresses within Cloudflare without...xenforo.com
All sites are different and have different needs/bits spidering them. So no, I don’t have a list of bots that necessarily should be blocked. You need to figure out what you want to block and why for your specific site.Hello digitalpoint. Do you perhaps have a list of bots that should be blocked? And is there a guide on how to do this quickly and effectively via Cloudflare?
Best regards,
Chris
This XenForo 2.0 addon adds additional definitions for bot detection in sessions.
Requirements
This addon requires PHP 5.4 or higher and only works on XenForo 2.0.x
Usage
When you look at Current Visitors, you'll see additional robots identified - also look at the "Robots" list on that page http://www.example.com/community/online/?type=robot
I don't have access to your web logs, so I can't help beyond telling you what you should be doing. But fair enough, I'll keep out of this thread.Hello digitalpoint. I appreciate you and your work. But...if you don't really want to help, then it's best not to answer at all.
You know Cloudflare very well. It would therefore make sense for you to simply tell me briefly how I should proceed, for example, to block Bytespider using my CF account. That would have helped me a lot.I don't have access to your web logs, so I can't help beyond telling you what you should be doing. But fair enough, I'll keep out of this thread.
That wasn't your question... your question was, "How can I see which Bots/IPs are accessing from Singapore".You know Cloudflare very well. It would therefore make sense for you to simply tell me briefly how I should proceed, for example, to block Bytespider using my CF account. That would have helped me a lot.
That wasn't your question... your question was, "How can I see which Bots/IPs are accessing from Singapore".
...and looking at your web logs is the correct answer.
We use essential cookies to make this site work, and optional cookies to enhance your experience.