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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Custom editable 404 page?Custom editable 404 page?
Previous
 
Next
New Post
6/10/2009 10:10 AM
 

Is it possible to have a custom editable 404 page within DNN that the admin user can manane and update?  What is the best approach for handling this?  Would it need to be set at the IIS level or can it be configured within DNN?

 
New Post
6/10/2009 10:45 AM
 

Hello Mark,

The short answer is you can do this several ways; through DNN or add a custom 404 to the root of your DNN or cahange the IIS default 404.

To change it in DNN login in as Admin or Host and got to Admin > Languages, there select Language Editor. This will open the GlobalResources.resx file. The 404.error is the second item down. This will only work if you have select to "Use Custom Error Messages" on the Host > Host Settings tab.

To add a custom 404 or other error messages to your root (my prefered method), simple create a new 404 page and change your web.config files customErrors mode from this:

<customErrors mode="RemoteOnly" />

to something like this:

    <customErrors defaultRedirect="ErrorPage.aspx" mode="On">
      <error statusCode="500" redirect="servererror.aspx" />
      <error statusCode="404" redirect="filenotfound.aspx" />
      <error statusCode="403" redirect="AccessDenied.aspx" />
    </customErrors>

Hope this gets you started.



 
New Post
6/10/2009 11:47 AM
 

Thanks.  What we are really looking for is to have it as an actual DNN site page where the admin can go to and edit content, add modules as needed, etc.

Can you just make a standard page within the portal and then set the IIS 404 to point to it with no issues?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Custom editable 404 page?Custom editable 404 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