Forum Moderators: phranque
Welcome to WebmasterWorld [webmasterworld.com]!
See the code in the first post of this thread: [webmasterworld.com...]
Simply omit the first line of code, and change the last line so that it says R=302 instead of R=301.
Also, you'll need to add a space preceding the "!" the code - posting on this forum removes them.
Ref: Introduction to mod_rewrite [webmasterworld.com]
Jim
Thanks - the code below makes it work:-)
RewriteCond %{HTTP_HOST} !^www\.test\.dk
RewriteRule (.*) [test.dk...] [R=302,L]