Forum Moderators: phranque
If %{HTTP_HOST} ^mysite.com/page1.html Redirect to www.mysite.com/page1.html
Not all requests will have a query string, but if it does, redirect host and query string, otherwise just redirect host.
Thanks!
Welcome to WebmasterWorld!
By default, mod_rewrite will forward the query string, so any variation of the domain redirection code you've seen here in this forum should work.
Jim