I know that I can use the
Redirect directive in apache to redirect users to another domain with "Redirect permanent / http://www.newdomain.tld", but when I use that line the entire URL is preserved. For example, if a user tries to access "http://www.olddomain.tld/afile.txt" they will be redirected to "http://www.newdomain.tld/afile.txt". Is it possible to redirect all requests to the root of the new domain (
http://www.newdomain.tld)?
Thanks
AJS