title: htaccess rewrite syntax for masking an URL
body: <p>Hello i need every time a user enters www.mydomain.com/page they are redirected to
  www.mydomain.com/portal/index.php?option=com_content&amp;id=84 but the URL in the top must remain www.mydomain.com/page</p>
  
  <p>Ihave tried a lot of things in my htaccess. just been able to redirect, but not mask the url..</p>
  
  <p>here is my code.</p>
  
  <pre><code>Redirect 301 /page http://www.mydomain.com/portal/index.php?option=com_content&amp;id=84
  
  RewriteEngine on
  RewriteBase /
  RewriteRule ^/portal/index.php?option=com_content&amp;id=84$ /page
  </code></pre>