Friday 06 May 2011 7:18:03 pm
Hi @ all,
i have a little problem: how can i redirect to a subdomain after login? when a user click on blog.mydomain.tld/user/login - it is redirect to www..mydomain.tld/user/login this is done with a rewrite condition... <code>
RewriteCond %{HTTP_HOST} !^(www|admin).([^.]+)\.([^.]+)$ [NC] RewriteRule ^/user/*(.*)$ http://www.mydomain.tld/user/$1 [R=301,L] </code> all solutions are welcome!...
|