test.com/gallery/
rewrites the address bar to:
test.com/gallery/?page=gallery
Here's my rule:
- Code: Select all
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
It does this because I have a directory named 'gallery' in my public_html. It does this for every url that has a matching directory in the public_html directory.
How can I change my rule?
Thanks!!!!