Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  How to setup a 404 error page?
Previous Previous
 
Next Next
New Post 9/30/2007 10:41 AM
User is offline John
71 posts
10th Ranked


How to setup a 404 error page? 

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 5:48 PM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: How to setup a 404 error page? 

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

 
New Post 9/30/2007 9:31 PM
User is offline Angel Vega
51 posts
www.micos.com.mx
10th Ranked


Re: How to setup a 404 error page? 

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 5:15 PM
User is offline Rodney Joyce
1641 posts
www.smart-thinker.com
5th Ranked




Re: How to setup a 404 error page? 

 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 ;)


Thanks,
Rodney
Smart-Thinker - Social Networking modules for DotNetNuke
The DotNetNuke Directory - Are you listed?
PokerDIY - Example Implementation of DNN Social Network
Do use DNN a lot? Try the DotNetNuke Toolbar to save you time!
 
New Post 5/26/2008 6:07 PM
User is offline cathal connolly
2756 posts
www.cathal.co.uk
5th Ranked










Re: How to setup a 404 error page? 

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 ?

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  How to setup a 404 error page?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP