Forums / Install & configuration / Redirect to subdomain after login
Michael Loibl
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!...
Robin Muilwijk
Friday 06 May 2011 11:55:53 pm
Hi Michael,
what about the solution used in the following topic: http://share.ez.no/forums/developer/redirect-after-login/(language)/eng-GB?
Regards Robin
Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation. LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk