I'd like to have url like
mydomain/a/b
from mydomain/page.php?a=$1&b=$2
The htaccess file understand that I want to go to mydomain/page.php?a=$1&b=$2
when i use mydomain/a/b
but he change the urlname to mydomain/page.php?a=$1&b=$2
and I don't want that, i want to keep mydomain/a/b
.
Here is the htaccess file I use:
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)$ page.php?a=$1&b=$2