title: Redirect all traffic to root of another domain
body: <p>I have a domain that's not to be used anymore. I want to redirect all from <code>http://www.old.com/</code> to <code>http://www.new.com/</code>, no matter what page the user's attempted to access on <code>www.old.com</code>.</p>
  
  <p>Doing this:</p>
  
  <pre><code>RewriteEngine on
  Redirect 301 / http://www.new.com/
  </code></pre>
  
  <p>is fine for the root, but other pages would do this:</p>
  
  <p><code>http://www.old.com/cms -&gt; http://www.new.com/cms</code></p>
  
  <p>whereas I'd want it to go to the root, no matter what.</p>