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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to setup a 404 error page?How to setup a 404 error page?
Previous
 
Next
New Post
9/30/2007 12:41 PM
 

How do I add a 404 error page using DNN? I tried adding the it using the customerErrors but it didn't work.

thanks, john

 
New Post
9/30/2007 7:48 PM
 

the default text for the 404 page is actually part of the localised text. If you use the language editor and browse to the globalresources , you can edit the 404.Error text.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
9/30/2007 11:31 PM
 

Additionally, you can specify the error page on the web.config file like this:

    <customErrors mode="On">
      <error statusCode="404" redirect="~/404.aspx"/>
    </customErrors>   

You can also specify error pages for the Internal Server Errors:

      <error statusCode="500" redirect="~/500.aspx"/>

Hope this helps

 
New Post
5/26/2008 7:15 PM
 

cathal connolly wrote

the default text for the 404 page is actually part of the localised text. If you use the language editor and browse to the globalresources , you can edit the 404.Error text.

Cathal

Cathal, has DNN always redirected 404 pages to the homepage? I never noticed that, but I just tried it on PokerDIY (4.8.2) and it does redirect to the home page. Still deciding if I like this or not ;)


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
5/26/2008 8:07 PM
 

Rodney, I'm not sure what you mean, i've just tried http://www.pokerdiy.com/somepage.aspx and get a 404. Perhaps you mean the fallback for non-existant tab's i.e. http://www.pokerdiy.com/tabid/123456789/Default.aspx ?


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to setup a 404 error page?How to setup a 404 error page?


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