title: .htacces url_rewrite difficulties
body: <p>I have a problem with the configuration of the <code>.htaccess</code> of small website that I'm working on.</p>
  
  <p>I want all pages to be redirected to <code>index.php?page=REQUEST</code> and that file will find in the database the content for the requested page. </p>
  
  <p>The problem occurs when I have installed a forum, so I want these forum pages to redirect to the <code>index.php?page=forum&amp;params</code></p>
  
  <pre><code>Options +FollowSymlinks
  
  RewriteEngine on 
  RewriteCond %{REQUEST_URI} /(.*).html
  
  RewriteRule ^(.*)forum/category/(.*)?$ index\.php?page=forum&amp;lang=$1&amp;category=$2 [L]
  
  RewriteRule ^(.*)/(.*)(\.html?)$ index\.php?lang=$1&amp;page=$2 [L]
  RewriteRule ^(.*)(\.html?)$ index\.php?page=$1 [L]
  </code></pre>
  
  <p>Evetything works fine, except the forum part. How do I need to change the <code>.htacces</code>?</p>