1: 2: 3: 4:
RewriteEngine encendido % de RewriteCond {HTTP_HOST} ^domain2.com$ [O] Del ^ www.domain2.com $ de RewriteCond % {HTTP_HOST} ^ de RewriteRule (. *) HTTP de $ “\: \/\ /www \ .domain1 \ .com \/$1” [R=301, L]