The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tomfoolery Logging Bot hits
#6
you generaly do this in a robot.txt file however if that fails to stop them then you can use the following in your htaccess for the directory you dont want crawled

<pre>
Code:
RewriteEngine On

RewriteCond {3bc1fe685386cc4c3ab89a3f76566d8931e181ad17f08aed9ad73b30bf28114d}{HTTP_USER_AGENT} (googlebot|bingbot|Baiduspider) [NC]
RewriteRule .* - [R=403,L]
</pre>


change the bots to the ones you want stopped and they arent case sensitive, you can change the error code to what you wish aswell, currently 403 access forbidden
  Reply


Messages In This Thread
Tomfoolery Logging Bot hits - by jdmfarms - 06-16-2017, 07:49 AM
Tomfoolery Logging Bot hits - by mudmin - 06-20-2017, 11:31 AM
Tomfoolery Logging Bot hits - by Brandin - 06-20-2017, 11:42 AM
Tomfoolery Logging Bot hits - by jdmfarms - 06-20-2017, 01:44 PM
Tomfoolery Logging Bot hits - by Brandin - 06-20-2017, 02:43 PM
Tomfoolery Logging Bot hits - by firestorm - 06-20-2017, 10:41 PM
Tomfoolery Logging Bot hits - by jdmfarms - 06-25-2017, 05:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)