Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login redirects to home page instead of to previous URLLogin redirects to home page instead of to previous URL
Previous
 
Next
New Post
4/25/2009 1:23 AM
 

I created a custom login page that has the login module on it along with some other modules. I would like it to redirect the user to the previous URL when someone navigates to the page and then logs in. I left the drop down menu blank (nothing selected) under user accounts > user settings > redirect after login. I thought that would cause dnn to redirect to the previous URL, but for some reason it's redirecting to the home page. Can someone tell me how to get dnn to redirect to the previous URL? An even better solution would be being able to pass in a url to the login page so it redirects to that page after a successful login. Is that possible?

 

Thanks,

 

Troy

 
New Post
5/8/2009 11:16 AM
 

Try going to: admin > User Accounts > User Settings  and make sure the "Redirect after (Login / Logout / Registration )"  and see if you can get those settings to work for you.

Mike


Michael Emond
City of Manchester NH
www.manchesternh.gov
 
New Post
5/8/2009 11:36 AM
 

Does the redirect not work when using the text "Login" link provided by the login skin object?  The skin object link provides the "redirect" querystring value that passes the needed target page info to the LOGIN module.
 
Note:  If you have your login page linked through your menu then the redirect will go to whatever page is set in the PORTAL SETTINGS (HOME is nothing is set) when people browse to the page using the menu link.  This happens because a login page browsed to via the menu will not have a "redirect" querystring value in the URL (the "redirect" value get added only when using the LOGIN skin object).  To avoid this scenario you'll need to rely only on the LOGIN skin object as your login link (so set your login page's setting to "not appear in menu"). 

 
-mamlin


esmamlin atxgeek.me
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Login redirects to home page instead of to previous URLLogin redirects to home page instead of to previous URL


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out