Redirect after login

Duc Pham asked on May 5, 2015 10:19

Hi all,
I have a situation like this: When user paste a link of our website to browser, Kentico will check authentication and jump to the log-in page so user can log in using their password. After that, it automatic redirect user to the Default page of our website. What if I want it move to the link which user had pasted before log in ? How can I do that ? We are using Login webpart of Kentico 8, just customized the UI. Can anyone help me to solved this ?

Recent Answers

Brenden Kehren answered on May 5, 2015 14:32

By default, if there is a returnurl URL parameter when accessing the Login page, the webpart will automatically redirect to that URL after the user has authenticated. If there is no returnurl URL parameter, it will look to see if the there is a URL set in the webpart properties. If not, it will check to see if the user account has a starting alias path. If not, it just redirects to the current page.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.