# Drop at the end of your base .htaccess or virtualhost, hooray for negative lookaheads RedirectMatch ^\/(?!wp\-admin)(.*)$ http://newdomain.com/$1