There shouldn't be a problem in passing query variables. It looks fine, but what you do need to do is establish if #site_query.title# would have spaces in it or not. If yes, then you need to encode it.<br>
<br>
try: #URLEncodedFormat(site_query.title)#<br>
<br>
Also remember you will need a <cfoutput></cfoutput> around it somewhere.