Empty search redirect to Home page
Something like this should work:

/**
 * Implements template_preprocess_search_results.
 */
function YOUR_THEME_preprocess_search_results(&amp;$variables){
  $results = $variables['results'];
  if(count($results) == 0){
    drupal_goto('&lt;front&gt;');
  }
}