title: htaccess redirect + hide subfolder in url
body: <p>I've looked around and have attempted some rules and conditions that worked; while some did not work or the condition would capture too much causing other domains to also redirect. This works for me:</p>
  
  <pre><code># Redirect (also catches www.)
  RewriteCond %{HTTP_HOST} ^(www.)?domain.com$
  RewriteRule ^(/)?$ subfolder [L]
  </code></pre>
  
  <p>resulting in if you visit www.domain.com OR domain.com
  being redirected to domain.com/subfolder
  Great, but I'dd also like the /subfolder part to be hidden from the url.</p>
  
  <p>How do I achieve this ? </p>
  
  <p>Note that I have multiple domains, each should redirect to its own folder.
  I also want each page to still be visible in its respective folder.</p>
  
  <p>So www.domain.com/abc should redirect to domain.com/subfolder/abc but show domain.com/abc</p>