Hi,
Vielen Dank für diese Lösung. Doch leider funktioniert das nur beim Aufruf von umstaendliche-domain dot de, nicht jedoch bei deep links.
Warum sollte das nicht funktionieren? Zum Beipiel:
http://www.td-rot-weiss-duesseldorf.de/formationen/impressionen-stda4.html
GET /formationen/impressionen-stda4.html HTTP/1.1
HTTP/1.x 301 Moved Permanently
Location: http://www.td-duesseldorf-rot-weiss.de/formationen/impressionen-stda4.html
http://www.td-duesseldorf-rot-weiss.de/formationen/impressionen-stda4.html
GET /formationen/impressionen-stda4.html HTTP/1.1
HTTP/1.x 200 OK
.htaccess im root:
RewriteEngine on
RewriteCond %{HTTP_HOST} td-rot-weiss-duesseldorf.de
RewriteRule ^(.*)$ http://www.td-duesseldorf-rot-weiss.de/$1 [R=301]
freundliche Grüße
Ingo