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
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  404 redirect
Previous Previous
 
Next Next
New Post 6/30/2008 3:26 AM
User is offline mujahed
105 posts
9th Ranked


404 redirect 

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 6:14 AM
User is offline Will Strohl
1331 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: 404 redirect 

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 LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
New Post 6/30/2008 11:53 PM
User is offline mujahed
105 posts
9th Ranked


Re: 404 redirect 

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 5:15 AM
User is offline Will Strohl
1331 posts
Orlando.DotNetNukeUG.Net/
6th Ranked




Re: 404 redirect 

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


Will LinkedIn profile
StrohlSiteDesign.com | My Blog | DotNetNuke® Skins by SSD
Google Toolbar Button for DNN | Suggested DNN Upgrade Paths
ODUG Web Site
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  404 redirect
 


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.

 


Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com
DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au

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