?id=$1&user=$2 code example
Example 1: ?id=$1&user=$2
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\\..+$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^/(.*)$ http://domain.com/$1/ [L,R=301]
Example 2: ?id=$1&user=$2
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^home/?$ /home.php [NC]
RewriteRule ^settings/?$ /settings.php [NC]
RewriteRule ^verify/([0-9]+)/([0-9]+)/?$ /verify.php?id=$1&user=$2 [NC,L]