How do you redirect a subdomain whilst capturing anything after the '?' and appending to a redirect using htaccess, whilst maintaining a particular variable?
redirect from...
http://subdomain1.example.com/?retailcentre=subdomain1&utm_source=twitter&utm_medium=twitter&utm_campaign=022641example
to...
http://www.example.com/?retailcentre=subdomain1&utm_source=twitter&utm_medium=twitter&utm_campaign=022641example
The query string after the '?' could be anything as it could come from twitter, facebook etc.
The one var that has to be parsed is what subdomain the redirect came from, in this case 'retailcentre'.