Jan23Written by:Will
1/23/2008

I see a question in the DotNetNuke® (DNN) forums a lot. It is often phrased something like "I deleted my login page. How can I login now?" Here is how you can get to your login page even when the Account Login module is not on the page, or the login page you specified in Site Settings is not accessible.
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.
5 comment(s) so far...
Doesn't work for me!
By Kenneth on
2/18/2008 |
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 |
Doesn't work for me!
By Kenneth on
2/19/2008 |
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 |
Great link! I am glad everything worked out.
By wills on
2/19/2008 |