I need an htaccess which redirects if there is a ?(question mark) in the URL,
Some sample URL's,
mysite.com/?p=44
mysite.com/?m=44
mysite.com/?cat=44
mysite.com/index.php?cat=44
The question mark could be anywhere after the "/". It should work for with the "www" and without it as well.
If there is a question mark, it should go to newsite.com.
Since I'm new to htaccess I don't know how to go about it and new some help from you'll. Thanks.