title: .htaccess redirect subdomain to a subfolder of another domain
body: <p>I want to redirect the domain as following:</p>
  
  <p><a href="http://help.site.com/" rel="nofollow">http://help.site.com/</a>*
  to <a href="http://anothersite.com/help/" rel="nofollow">http://anothersite.com/help/</a>*</p>
  
  <p>I dont found any instruction for exactly that purpose, only general redirection (www. to non www etc.):
  <a href="http://www.thesitewizard.com/apache/redirect-domain-www-subdomain.shtml" rel="nofollow">http://www.thesitewizard.com/apache/redirect-domain-www-subdomain.shtml</a></p>
  
  <p>I already tried this, but it does just shows a 301 <s>error</s> message:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} ^help\.site\.com
  RewriteRule ^(.*)$ http://anothersite.com/help/$1 [R=301]
  </code></pre>
  
  <p><strong>EDIT: I changed it to this, now it works...</strong></p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} ^help\.site\.com$
  RewriteRule ^(.*)$ http://anothersite.com/help/$1 [L,R=301]
  </code></pre>