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 ...404 Not working404 Not working
Previous
 
Next
New Post
5/21/2015 9:37 AM
 

I've tried all sorts of combos, but i can't get the 404 page to show. I only get the IIS standard 404.

 <customErrors mode="On" defaultRedirect="~/ErrorPage.aspx" />

does not work. If I visit this page directly I get 500 error, but that's maybe right?
I can't redirect to anything. I've tried to build a simple err.html and redirect to that, I've tried to redirect to a page created in dnn and that does not work, I've tried this as well:

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

but this does not work either. Tried without "~" as well. Tried with [full url]/err.html whatever, it will just not redirect. What is wrong? First I was on7.02, now I'm on 7.04 with the same error, and now I'm ending up here.

The DNNFriendlyUrl is set to "Advanced", so I've tried without .aspx as well (for dnn created page). The redirect does just not work? Any ideas?

 

 
New Post
5/21/2015 10:54 AM
 
404 Error page will only work for application errors, not for issues retrieving .html or other static files.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/21/2015 11:04 AM
 

Well, so how can I make a custom 404 page?

<error statusCode="404" redirect="404error.aspx"/> should do the trick...? I'm quite new to DNN.

 
New Post
5/21/2015 11:17 AM
 

Ok, after upgrading to 7.04 I got this as an option. It was'nt avalible in the 7.02, i guess.

If someone else find this thread and wonder what i did: I found the setting under Admin -> Site settings -> Page management section and pointed out the 404 page.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...404 Not working404 Not working


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