I tried something like:
- Code: Select all
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub\..*$
RewriteRule (.*) domain.com/sub/$1
However this alters the visble URL (the one in the address bar) which I'd like to keep as sub.domain.com/whatever...
Is this possible?
Any help appreciated