title: If search contains "pc" search another site
body: <p>I want to check if the search contains a string &quot;pc&quot;.  If the search contains pc i want to redirect to another URL removing the term &quot;pc&quot; from the query and leaving the rest.</p>
  <p>This should look like this:</p>
  <p><a href="http://www.somesite.com/?s=pc12121212" rel="nofollow noreferrer">www.somesite.com/?s=pc12121212</a>   ----&gt; sub.somesite.com/index.php?p=12121212</p>