Prevent Search Bots from Indexing Search Results

0
0

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

<?php if(is_search()) { ?>
   <meta name="robots" content="noindex, nofollow" /> 
<?php }?>
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.