Lego2012
12/13/2016 - 11:08 AM

Prevent Search Bots from Indexing Search Results

Prevent Search Bots from Indexing Search Results

<!-- In the <head> section of your header.php file: -->

<?php if(is_search()) { ?>
   <meta name="robots" content="noindex, nofollow" /> 
<?php }?>