This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Install & configuration » Redirect to subdomain after login

Redirect to subdomain after login

Redirect to subdomain after login

Saturday 07 May 2011 4:18:03 am - 1 reply

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...


RewriteCond %{HTTP_HOST} !^(www|admin).([^.]+)\.([^.]+)$ [NC]
RewriteRule ^/user/*(.*)$ http://www.mydomain.tld/user/$1 [R=301,L]


all solutions are welcome!...

Saturday 07 May 2011 8:55:53 am

Hi Michael,

what about the solution used in the following topic:

Regards Robin


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from