Hi All, I'm having a problem getting mod rewrite to do quite what I want... This is what I have so far but it just doesn't match the query string so that I can re insert it. URL bin/flight-search.cgi?dest=TRV <http://www.charterflights.co.uk/bin/flight-search.cgi?dest=TRV> or cgi-bin/flight-search.cgi?dest=TRV <http://www.charterflights.co.uk/bin/flight-search.cgi?dest=TRV> RewriteCond %{QUERY_STRING} dest=([A-Z]{3}) RewriteRule ^(bin|cgi-bin)/flight-search.cgi /charter_flight.php?to=$2 [R=301] Any pointers or links to decent tutorials would be much appreciated. Simon