RewriteEngine on RewriteCond %{HTTP_HOST} ^(.*)\.restofactory.be [NC] RewriteRule ^(.*)$ http://%1.restofactory.com/$1 [R=301,L]
RewriteEngine on RewriteCond %{HTTP_HOST} ^(.*)\.restofactory.be [NC] RewriteRule ^(.*)$ http://%1.restofactory.com/$1 [R=301,L]