I’m trying to redirect a URL that looks like
'accommodation/destination.php?code=108459&destination=Yang+Chum+Noi'
The regex I’m using:
(^accommodation/destination\.php\?code=([0-9]+)&destination=([^/]+)$)
…works fine in my regex tester but when I use it in the .htaccess file it doesn’t work.
Am I missing something here?
Done, with the help of both MatTheCat and bazmegakapa I got it to work, the {QUERY_STRING} solution was OK after I fixed my own typo, and after removing the QSA flag using the solution here http://www.google.com/support/forum/p/Webmasters/thread?tid=55432a1ab73cdf5a&hl=en it is now working, thanks again to both of you for your help.