Forum Moderators: phranque
2 years ago i set 301 redirect(htaccess) from non www version to www version
something like this
RewriteCond %{HTTP_HOST}!^www\.domain\.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L] today i need to set up subdomain on this domain, and check that my subdomain is redirected to www.domain.com/subdomain/
hmm ..
is there any way, (may be some additional code to add), and get subdomain.domain.com instead of domain.com/subdomain/
thanks