title: Redirecting base url only using htaccess
body: <p>I'd like to redirect only the base url to an external site.</p>
  
  <p>For instance, I want <code>example.com</code> redirected to <code>anotherdomain.com</code> but I don't want <code>example.com/path</code> to be redirected.</p>
  
  <p>So far, <code>example.com/path</code> redirects to <code>anotherdomain.com/path</code>. :(</p>
  
  <p><strong>EDIT :</strong></p>
  
  <p>First, thank you for the help! example.com now redirects to another.com without affecting the children paths of example.com. </p>
  
  <p>However, ideally, <code>m.example.com</code> won't redirect to <code>another.com</code>. So it's really just <code>example.com</code> redirecting to <code>another.com</code>.</p>