Redirect root of website only with apache and .htaccess
<p>I am looking to redirect only the root of my domain to another domain with apache + .htaccess - However I would like to maintain current directories.</p>

<p>Example:</p>

<p><a href="http://www.domain-one.com/" rel="nofollow">http://www.domain-one.com/</a> would redirect to <a href="http://www.domain-two.com/" rel="nofollow">http://www.domain-two.com/</a></p>

<p>However anything after the / would be ignored, examples:</p>

<p><a href="http://www.domain-one.com/contact" rel="nofollow">http://www.domain-one.com/contact</a></p>

<p><a href="http://www.domain-one.com/?param=1" rel="nofollow">http://www.domain-one.com/?param=1</a></p>