title: .htaccess url rewrite remove id
body: <p>Is it possible with .htaccess to remove the parameter ID of the url &amp; just show the text. Currently i have url like</p>
  
  <p>Current URL</p>
  
  <pre><code>http://localhost/profile.php?profileid=4554
  </code></pre>
  
  <p>Rewrited with .htaccess</p>
  
  <pre><code>http://localhost/profileid-4554/My UserName
  </code></pre>
  
  <p>Needed URL</p>
  
  <pre><code>http://localhost/profileid/My UserName
  </code></pre>
  
  <p>In the above url, i want to remove the id 4554. My .htaccess</p>
  
  <pre><code>RewriteEngine on
  RewriteCond %{REQUEST_FILENAME}\.php -f
  RewriteRule ^(.*)$ $1.php
  
  RewriteRule ^profileid-([0-9]+) profile?profileid=$1
  </code></pre>
  
  <p>Is it possible to do that?</p>