Say I want all requests to example.com to redirect to abc.com.
How can I make everything redirect to the root of abc.com and not include any paths or parameters included in example.com?
example.com/index.py?var=1 should go to abc.com
I tried this in my .htaccess
RedirectPermanent / http://www.abc.com
But it does this:
example.com/index.py?var=1 goes to abc.com/index.py?var=1