Hello, How can I do a mod rewrite so I can redirect old urls with variables to new pages. For example here is the code that is not working with variables in them. Here you can see the variable "id" in the url and trying to redirect to new pages. Any ideas?
RewriteRule ^gallery/full-face-photos.asp?id=AJ$ new-page1.html [R=301,L]
RewriteRule ^hairline/hairline-photos.asp?id=GG$ other-hairline2.html [R=301,L]