hi
i have multi language site (PL,DE) and two domains
domain A should be the main domain of PL version
domain B should redirect to german main page
so in htaccess i put
RewriteCond %{HTTP_HOST} ^domain.de
RewriteRule (.*)$ http://www.domain.de/de [R=301,L]
and it works but only when domain doesn't start with "www"
i put another rule
RewriteCond %{HTTP_HOST} ^domain.de [OR]
RewriteCond %{HTTP_HOST} www.domain.de
RewriteRule (.*)$ http://www.domain.de/de [R=301,L]
but now nothing works
there is some problem with this rule: RewriteCond %{HTTP_HOST} www.domain.de
always get an error
"Moved Permanently The document has moved here."
and another question
why when i have: RewriteCond %{HTTP_HOST} ^domain.de
and enter the site i get a ?url=/de at the end of the URL ?
http://www.domain.de/de?url=/de