title: redirect if url contains specific string using htaccess
body: <p>I want to redirect to different domain, <code>83answers.com</code> if url contains <code>forum</code> string. </p>
  
  <p>Like if my url is <code>test.guru99.com/forum/xyxyxzz</code> then it should redirect to <code>83answers.com</code>. String forum can be anywhere in the url.</p>
  
  <p>I have tried following </p>
  
  <pre><code>RewriteCond %{QUERY_STRING} forum
  RewriteRule .* 83answers.com [R,L]
  </code></pre>
  
  <p>and also this</p>
  
  <pre><code>RewriteCond %{REQUEST_URI} forum
  RewriteRule .* 83answers.com
  </code></pre>
  
  <p>But both didn't work ,Please help me to sort this out.</p>
  
  <p>Regards</p>