title: htaccess reqwrite rule is redirecting
body: <p>i have this rewrite rule in my htaccess file stored in the root:</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^portal.domain.uk
  RewriteRule ^(.*)$ http://domain.uk/subdomains/portal/$1 [L,NC]
  </code></pre>
  
  <p>but its redirecting when i dont want it to.</p>
  
  <p>ive tried using <code>[l,NC,QSA]</code> too as the flags, but its still redirecting to <code>domain.com/subdomains/portal</code></p>
  
  <p>is there a way i can stop it from redirecting the browser and just keep it mapped to this directory?</p>