i used this .htaccess
and it works for me:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)$ profile.php?id=$1 [L,QSA]
The QSA
flag is used, that you can add multiple get parameters like this: http://www.website.com/61338848?parameter=value
RewriteCond %{REQUEST_FILENAME} !-f
checks if the request_filename
is a file, if yes, the RewriteRule
will not be executed