well, i think this is a very common question but my question will focus on handling get request with more than two params with .htaccess format.
so for my current .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^([^/]+)$ $1.php
it transformed
mydomain.com/basis_native/home.php
into.
mydomain.com/basis_native/home
but when I add a GET params it will be like this:
mydomain.com/basis_native/home?role=verifier&page=dashboard
what i want is to handle it to a nice way like:
mydomain.com/basis_native/home/verifier/dashboard
Change your
RewriteRuleto: