I got this line of code:
RewriteRule artistprofile.php rewrite.php?$1 [R=301,L]
But the redirection does not work accordingly,
http://domain.com/artistprofile.php?displayname=bryan+wong is redirected to http://domain.com/rewrite.php?/
I am expecting http://domain.com?displayname=bryan+wong
Please help!