5v,
'Glad it quickly resolved your issue. The ? with nothing after it in the redirection KILLS any query string and that’s not really a big secret.
IMHO, it’s critical that a webmaster know precisely what his/her code is doing before going online. My tutorial is overkill for what you needed (ergo the quick fix) but it should help you as there is a LOT of good information there (especially in the example explanations).
Regards,
DK