?s=', '/search/', 'relevanssi_search_url_prefix', 'highlight' ); ?>

add_action( 'do_robots', 'rlv_block_bots_robots_txt' );
function rlv_block_bots_robots_txt() {
	?>
User-agent: *
Disallow: /search/
Disallow: /?s=
	<?php
}