> RewriteRule .*/go/(.*) /go.cfm?path=/go/$1 This assumes that the original URL .*/go/(.*) does not have any url parameters (?name=value&name2=value2...). If it does, they will be placed at the end (in the $1), and now your URL has two ?'s, confusing the url params a bit. The regular expression I use looks more like this:
RewriteRule .*/go([^\?]*)(?:\?(.*))? /go.cfm\?path=/go$1&$2 The ([^\?]*) is regular expression speak for "zero or more non-question mark characters" - This will get the string of the rest of the friendly url path The (?:\?(.*))? is regular expression speak for "string of all characters after a question-mark, if any" - This will get the 'query_string'. The extended path gets added to the path url parameter and the query_string is appended, when the appropriate go.cfm is called. -Tyler
