htaccess: redirect all requests to different domain (without query arguments)
snippet in htaccess

htaccess: redirect all requests to different domain (without query arguments)

user1096

RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/ [R=301,L]