title: My url rewrite redirects to mydomain.com/var/www/clients/client3/web25/
body: <p>I'm trying to make a rewrite of a url on my joomla site. I have an extra page in there wiht some other stuff on it.</p>
  
  <p>I have:</p>
  
  <pre><code>RewriteRule ^company/([^/]+) company?alias=$1 [NC]
  </code></pre>
  
  <p>where i want company/somecompany to show what the url company?alias=somecompany will give (not forward to it).</p>
  
  <p>What i get instead is a redirection to:</p>
  
  <p><a href="http://www.mydomain.dk/var/www/clients/client2/web5/web/company?alias=somecompany" rel="nofollow">http://www.mydomain.dk/var/www/clients/client2/web5/web/company?alias=somecompany</a></p>
  
  <p>Also if i include a "-" like "company/some-company" it skips my rewrite and just goes to the joomla rewrite rules (and can't find the article)</p>
  
  <p>What am I doing wrong?</p>