How can I redirect all requests (irrespective of what page is being requested) on sub.domain.com to newdomain.com? Currently I have
Redirect 301 / http://www.new
RewriteCond %{HTTP_HOST} ^(www\.)?olddomain\.com$ RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
That will forward any GET requests.