I'm putting a new site live and need to redirect all the old pages to the relevant new ones. The issue is that the old site used PHP queries, whereas the new site doesn't.
This means that if I setup a redirect like so:
RewriteRule %{QUERY_STRING} range.php?type=baropt&item=01 [NC]
RewriteRule .* http://domain.com/range/bars/led-bar? [R=301,L]
Instead of redirecting as it should, it simply displays a blank page with the message 'Disallowed Key Characters'.
I'm happy to setup manual redirects for the various pages (there's only around 80-90 in total). but can't workout how to do it. I've been told I'll need to use 'mod_rewrite, request_uri + query_string conditions' but that doesn't mean much to me.
OLD URL: domain.com/range.php?type=baropt&item=01
NEW URL: http://domain.com/range/bars/led-bar
Any ideas gratefully received!
Thanks in advance,
Tom