Elxis CMS Forum

Support => General => Topic started by: RemcoR on January 16, 2007, 16:45:33

Title: Login redirect
Post by: RemcoR on January 16, 2007, 16:45:33
I hope that you guys can help me with this one..

I wont my users to login on the home page (Like: http://www.domain.com) and be redirected to a sub domain (like: http://sub.domain.com) and automatically logged in on the sub domain is this possible?

Thanks in advanced!

Title: Re: Login redirect
Post by: datahell on January 16, 2007, 18:05:42
You should point the login form's action to the subdirectory's index.php file.

For example:
change this:

form action="index.php"

to something like this:

form action="http://sub.domain.com/index.php"