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

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

<code>

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

</code>

all solutions are welcome!...

Saturday 07 May 2011 8:55:53 am

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

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from