I am really struggling with this problem, and have tried every thing I can think of in my limited .htaccess knowledge to make this work:
I want to redirect every call to any page from one subdomain.domain.com to another, with variable parameters.
For instance, I want
http://subdomain.olddomain.com/index.php?many_variables_here
to permanently redirect to (with the addressbar in the browser reflecting the new)
http://subdomain.NEWdomain.com/index.php?many_variables_here
I'm redirecting one subdomain only to the same subdomain name at another domain (permanently...want all expired links to still work). That is, www.olddomain.com still exists and is not to redirected, just subdomain.olddomain.com is to redirect.
For what it's worth: olddomain is an add-on domain of newdomain.
Thanks!