I want to do this:
redirect from
http://test.domain.de/index.htm
to
http://domain.de/test/index.htm
my code is not working:confused:
RewriteCond %{HTTP_HOST} ^(.*)\.domain\.de$
RewriteCond %{HTTP_HOST} !^www\.domain\.de$
RewriteRule (.*) http://domain.de/%1$1 [P]
help me!!