How to redirect to on a successful login




I have two pages :4503/content/domain/home.html


I assigned a closed group to login home.html via login.html in my publish instance however when a user successfully login they get redirected to :4503/content/we-retail/us/en.html instead of :4503/content/domain/home.html. How to redirect these users to my home.html page instead of the we-retail page?

I am confused because I do have authentication requirements enabled to home.html via login.html, so from my understanding once the user successfully logins they should get redirected to home.html. I am using 'j_security_check' to submit the action in my login.html page -

        <form class="form-signin" action="login.html/j_security_check" method="post">

               <img src="/content/dam/standardLogo128.png" alt="logo">

                <h2 class="form-signin-heading">Manager</h2>


               <label for="inputEmail" class="sr-only">Email address</label>

                     <input type="text" id="inputEmail" name="j_username" class="form-control" placeholder="Email address" required="" autofocus="">


               <label for="inputPassword" class="sr-only"> Password </label>

                    <input type="password" id="inputPassword" name="j_password" class="form-control" placeholder="Password" required="">


               <button class="btn btn-lg btn-primary btn-block" type="submit">Log in</button>


- Arman

Answers (0)