title: Clean URL using mod_rewrite
body: <p>my websites user profile page is </p>
  
  <pre><code>http://website.com/profile?name=test
  </code></pre>
  
  <p>I'm using get method to <strong>get the variable name</strong> 
  I'm trying to make above url to be cleaned like,</p>
  
  <pre><code>http://website.com/test
  </code></pre>
  
  <p>My .htaccess contents</p>
  
  <pre><code>RewriteEngine On
  RewriteBase /creatorsink/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ $1.php [L]
  RewriteRule ^([a-z]+)/?$ profile.php?name=$1 [L,QSA]
  </code></pre>
  
  <p>Is there any way to do this with an option to get name too ?</p>