I'd like to redirect some specific URLs with queries in them, to other pages.
I know I can do pattern matching and redirect every url with a query string %{QUERY_STRING} to another url, but I want to be able to specify exactly what URL to redirect to, and I can't seem to figure out how.
This what I have currently, there are several of these URLS and each one is different - I want to manually specify each one.
Code:
RewriteRule ^gift\.php\?type=312$ /gift/school-supplies/ [R=301,L]
RewriteRule ^gift\.php\?type=318$ /gift/mosquito-net/ [R=301,L]
Thank you!