i am using Htaccess redirect, but i know need to inlcude a query string in the URL and it doesnt seem to want to do it ie Rewrite Rule ^(.)$ index.php?go=$1 Code (markup): but my URL is now has a query string how can i grab it and append to the redirection Rewrite Rule ^(.)?{I need this query string}$ index.php?go=$1{to attach to here} Code (markup): Racking my brains any ideas or is it just impossible
it's definitely not impossible. rewriterule uses regex. regex stores results based on what's found inside sets of (). http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html#RewriteRule
Cheers all, many thanks to to nico_swd i thought it was {query_string} but didnt put the % in, i should really take a break thanks again