Here what I’ve already done.
RewriteRule ^([a-z]+)$ index.php?file=$1
So when visiting domain.com/browse it actually reads domain.com/index.php?file=browse
But the problem is, this does not pass visible GET variables like this: domain.com/browse?page=2. How do I make it pass both GET variables: domain.com/index.php?file=browse&page=2.
Any help would be appreciated!
You can use this:
or use:
the QSA (Query String Append) flag will allow passing _GET vars