title: htaccess tidy up url
body: <p>So I have been trying to get my url to look better, but I can not get it to work as I want, so there might be some nice soul here that can help me out.</p>
  
  <p>I need help with</p>
  
  <p>ex: www.domain.com/project/index.php?p=settings&amp;u=123&amp;l=k</p>
  
  <p>To look like www.domain.com/project/settings</p>
  
  <p>I want index.php to be removed and all that comes after the first variable, in this case, p=settings, and also remove ?p=</p>
  
  <p>I got this now</p>
  
  <pre><code>    RewriteEngine On
      RewriteBase /
  
      # Removes index.php from ExpressionEngine URLs
      RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
      RewriteCond %{REQUEST_URI} !/system/.* [NC]
      RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]
  
      # Directs all EE web requests through the site index file
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php/$1 [L]
  </code></pre>