• Resolved ArcticFritid

    (@metuza)


    Hello,

    Does the below filter only work with premium version of plugin? I can not get rid of Applebot from the user search logs.

    add_filter( 'relevanssi_bots_to_not_log', function( $bots ) {
    return array_merge( $bots, array( 'Apple' => 'Applebot' ) );
    } );

    Brgds
    Rune

    • This topic was modified 1 year, 1 month ago by ArcticFritid.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    That filter is available in the free version. It does not remove anything from the existing logs, but it should prevent Applebot from being logged in the future.

    Thread Starter ArcticFritid

    (@metuza)

    Well, i could not make it work but wierd enough, when i moved in the below filter it stopped immediately and my logs now seems to keep out 99% of applebot searches.

    add_filter( 'relevanssi_bots_to_block', function( $bots ) {
    return array_merge( $bots, array( 'Apple' => 'Applebot' ) );
    } );

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Does filter work only with premium version?’ is closed to new replies.