title: htaccess redirect subdomain to root domain
body: <p>I want to redirect this subdomain:</p>
  
  <pre><code>http://abc.domain-name.com
  </code></pre>
  
  <p>to a folder on the root domain that uses the same name:</p>
  
  <pre><code>http://www.domain-name.com/abc
  </code></pre>
  
  <p>This way, if I try to access the following file:</p>
  
  <pre><code>http://abc.domain-name.com/folder/file.html
  </code></pre>
  
  <p>It will go to:</p>
  
  <pre><code>http://www.domain-name.com/abc/folder/file.html
  </code></pre>