DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN version 10.1.2, and redirect after login issue

 1 Replies
 0 Subscribed to this topic
 37 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 9
New Around Here
New Poster
New Poster
Congrats on posting!

Hello Team,

We are using DNN version 10.1.2, and currently the Login Page setting under
Settings → Site Settings → Site Behavior → Login Page is set to Not Specified
(so the default login module is being used).

The issue we are facing is:

  • When users log in from the main portal, the system correctly redirects them to the page configured under Redirect After Login in Site Settings.

  • However, when users attempt to log in from any sub-portal, they are not being redirected to the configured page. Instead, they are either staying on the login screen or being redirected to the home page.

This behavior appears to be a known issue in DNN 10.x related to the handling of ReturnUrl and login redirection logic when working with child portals/sub-portals.

We need assistance or guidance on how to ensure that Redirect After Login works consistently across both the main portal and all sub-portals, even when no custom login page is selected.

Please advise on recommended configuration or any fix available for DNN 10.1.2 to resolve this redirect issue.

Thank you.

Advanced Member
Posts: 132
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Just to make sure I understand the situation correctly, you have your enviornment setup like the following.

Main Portal - Redirect to Page B
Child Portal 1 - Redirect to Child Portal Page C
Child Portal 2 - Redirect to CHild Portal Page Z

However, when logging in to CHild Portal 1 you are taken to the homepage of CHild Portal 1, rather than Page C?

Did you modify the cookie domain or any configurations of the login cookie?

Do your users exist in multiple portals?

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved