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 redirect404 redirect
Previous
 
Next
New Post
6/30/2008 6:26 AM
 

Hi there,

Can anyone tell me how to do 404 redirect in DNN.

Basically what i am looking for is when ever some types some thing wrong in the url or trying to visit an invalid page i want them to be redirected to a page like 404. So can you tell me what is needed to be done here.

Thanks 

 
New Post
6/30/2008 9:14 AM
 

I don't remember there being a DNN specific feature or setting that allowed you to just choose an error page.  You may need to resort to the standard way of specify your error page in your web.config.  See if something like this works:

<customErrors mode="RemoteOnly">
 <error statusCode="404" redirect="~/Default.aspx?tabid=123"/>
</customErrors>

You already have a customErrors node in your web.config, so be sure to save it or comment it out before you try this one.


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
7/1/2008 2:53 AM
 

i have as you told me putting the customerror mode line and putting the old line in comments but now i am only able to open to my site from localhost i.e 127.0.0.1 and i am not even able to move to other pages dont know what the problem is.

Thanks

 
New Post
7/1/2008 8:15 AM
 

Did you change the tab id to reflect the page that you really want to see?


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...404 redirect404 redirect


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