title: .htaccess pretty url formatting is not stripping slashes
body: <p>I'm using this line in my <code>.htaccess</code>:</p>
  
  <pre><code>RewriteRule ^(.+)$ index.php?pages=$1 [NC,QSA]
  </code></pre>
  
  <p>It works fine, but I can place slashes before the content. For example: <code>/contact</code> is same as <code>/////contact</code></p>