WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
[resolved] Prevent search term logging for ip address (4 posts)

  1. wpmnger
    Member
    Posted 11 months ago #

    Hello Mikko,

    I was wondering if there was a way to prevent logging of user searches from a certain ip address. For example, if the site belongs to a large company and we don't want to track what the company employees are looking for but only what site visitors are looking for.

    From a marketing perspective we want to better deliver content that is being searched for. From a cms perspective we want all employees to have access to documents and information.

    Is this possible?

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 11 months ago #

    Relevanssi logs the IP addresses (if you set the options so), so I'd suggest you write a script that runs daily and cleans the searches from the unwanted IP address from the log. Should not be tricky.

  3. wpmnger
    Member
    Posted 11 months ago #

    I have that checkbox checked but I am not seeing ip addresses anywhere...
    Would that be on the user searches page? Or is there a log file somewhere?

    Just to be clear, I don't want to track ip addresses for privacy reasons. Just to filter out my own.

    Thanks for getting back to me so quickly!

  4. Mikko Saari
    Member
    Plugin Author

    Posted 11 months ago #

    They are stored in the wp_relevanssi_logs database, and that's where your script should look for them. They are not shown anywhere in the WP admin interface.

Reply

You must log in to post.

About this Plugin

About this Topic