Redirect only with specific domain
snippet in htaccess

Redirect only with specific domain

user7385

RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com$
RewriteRule ^(.*)$ http://example.de/$1 [L,QSA,R=301]