I browsed through the docs and this board but somehow got lost...
I want to redirect www.domain.com/almost_everything to
sub.domain.com/almost_everything except www.domain.com/ which
should redirect to www.domain.com/index.php
Is that somehow possible (I mean except through magic)?
Currently my .htaccess in www.domain.com/ looks something like:
- Code: Select all
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://sub.domain.com/$1 [R=301,L]
But that of course redirects www.domain.com/ to sub.domain.com/ -
which it shoulnd't... :|
Any Ideas? Thank you so much...
Cheers,
Till