title: Redirecting main domain but not certain subdomain with .htaccess
body: <p>Currently I have:</p>
  
  <pre><code>Redirect 302 / http://www.example.com
  </code></pre>
  
  <p>Whilst I still want this redirect to happen, I don't want it to redirect them if they go to say <code>foo.mydomain.com</code> or any other pages on this sub-domain.</p>
  
  <p>How can I do this?</p>