• Hi there!
    When looking at our logged successful user searches we see the top searches are always empty strings. Wondering if there’s a way to stop an empty search from being executed? An option in the settings would be great!

    Thanks in advance,

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

    (@msaari)

    Relevanssi shouldn’t run at all, if the search query is empty. There’s a check that should stop the search if $wp_query->query_vars[‘s’] is empty.

    Thread Starter Lyndon Roeller

    (@lyndonr)

    Hi Mikko,
    Thanks for the reply. Very Strange, it seems like empty searches are being passed to the logs. Including a Screenshot. Any ideas?

    Relevanssi search results

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Prevent empty/null searches?’ is closed to new replies.