• Resolved alx359

    (@alx359)


    Have a SemrushBot polluting the guest section for days, with a large bunch of almost sequential last 3 digits IP’s. How would it be possible to define an exclusion of such bot segment from guests and include it in the bots section as a single entry instead?

Viewing 1 replies (of 1 total)
  • Thread Starter alx359

    (@alx359)

    Nevermind, just found the useronline_bots filter to add new ones. Would be nice to lump them together by name or IP range though, as they show now as a bunch of individual entries.

    add_filter( 'useronline_bots', 'ew_useronline_bots' );
    function ew_useronline_bots( $bots ) { 
    	$bots['SemrushBot'] = 'semrush.com';
    	return $bots;
    }
Viewing 1 replies (of 1 total)

The topic ‘bot treated as guest’ is closed to new replies.