Can anybody please help me with some URL rewriting?
I have (for example) these pages:
www.mydomain.com/test/gallery.asp?id=2
www.mydomain.com/test/galler
try this
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^photos/(.*)$ test/gallery.asp?id=$1 [L,QSA]
first row is test if it isn't file
second row is test if it isn't directory
third will redirect photos/wildlife?a=true to test/gallery.asp?id=wildlife&a=true
if you don't want to redirect with a=true, just give out QSA ;)