title: htaccess is not redirecting
body: <p>Well, i want the user to enter <code>localhost/$value</code> so it will redirect to <code>localhost/pirsum/index.php?page=g&amp;link=$value</code> but its not working.</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI}  ^/([^/]+)/?$    [NC]
  RewriteRule .*       index.php?page=g&amp;link=%1 [L]
  </code></pre>
  
  <p>I tried to enter <code>localhost/</code> AND <code>localhost/pirsum</code> and both ended on 404 Not found site.</p>
  
  <p>Now, thats the only part of my website that i need to use htaccess, so i dont want the whole site to redirect, just that part.</p>