The Mighty Blog

HOW TO : Access the DNN Login Page from Any Page

Jan 23

Written by:
1/23/2008  RssIcon

This happens very often (or something like it).  Someone specifies a specific page on your DNN portal to be a login page, and then someone either deletes the login module, or deletes the login page.  Once they logout, it appears that there is now way to get it back.  This is when many people panic and turn to the DNN forums for help.

The truth is, fixing this is very easy.  Really!  It is.

First, navigate to ANY page on your site.  Then, you can get your login just by editing the URL.  For instance, let's take the typical home page URL.  It normally looks something like this:

http://www.domain.com/Home/tabid/36/Default.aspx

The URL parsing in DNN allows for a great many things to happen.  One of them is the ability to change the content of the page to use or display a different module on the very same page.  For instance, if you change the preceding URL to include another piece of text (ctl/login), your login module will magically appear on the page.  The edited URL would look something like this:

http://www.domain.com/Home/tabid/36/ctl/Login/Default.aspx

That's it!  Unless you have a problem that is more deeply rooted, this should get you to the point of being able to fix the problem.

UPDATED ON 07/09/2011

As of the version 5 series of DotNetNuke, you can now use another method to access the login page.  As long as the website is using the Human Friendly URL setting, you can use the following example URL.

http://www.domain.com/Login.aspx

Tags:
Categories: DotNetNuke

6 comment(s) so far...


Re: HOW TO : Access the DNN Login Page from Any Page

Doesn't work for me!

By Kenneth on   2/18/2008

Re: HOW TO : Access the DNN Login Page from Any Page

As long as there is nothing more serious wrong with your DNN install, this will work every time. If this didn't work for you, then there are apparently more problems with your DNN installation or configuration. If you'd like, post your issue here, or seek help in the DotNetNuke forums. I would be more than happy to assist you as much as I can.

By wills on   2/18/2008

Re: HOW TO : Access the DNN Login Page from Any Page

Doesn't work for me!

By Kenneth on   2/19/2008

Re: HOW TO : Access the DNN Login Page from Any Page

The problem was, that my login was connected to a page with no login module. I solved my problem with the link below:
http://blogs.snapsis.com/PermaLink,guid,3078311e-6925-4c03-8243-d1b9c8a11906.aspx

After this fix, your trick is also working.

Thanks!

By Kenneth on   2/19/2008

Re: HOW TO : Access the DNN Login Page from Any Page

Great link! I am glad everything worked out.

By wills on   2/19/2008
Gravatar

Re: HOW TO : Access the DNN Login Page from Any Page

Thanks guys !, The link given by Kenneth really worked for me.

By Abhijeet on   12/24/2010

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Add Comment   Cancel 
Add to Technorati Favorites
Tweet about my blog
The opinions expressed here are the personal opinions of Will Strohl and do not necessarily represent the views and opinions of the DotNetNuke Corporation.
© Copyright 2004-2011 by Will Strohl. All rights reserved. Website Skinned By: Ralph Williams  Website Hosted By: Applied Innovations