i'm replacing this
localhost/load.php?code=foo with this
localhost/foo using this htaccess code
RewriteRule ^(\w+)$ ./load.php?code=$1 works pretty good! but what about including other get tag in the same URL like
localhost/load.php?user=foo&code=foo replaced it with htaccess to be like
RewriteRule ^(\w+)$ ./load.php?user=$1&code=$1 but doesn't work as well! so what is the correct htaccess code to do this?
^(\w+)/(\w+)/?$adding the question mark before the dollar sign, Thanks!