RE: How to add 404 error page on based website?


Finally, I did. This is the Process for ASP.NET 404-Error Page create
1. Create you Error page 404.aspx Extension File (Like 404.html).
2. Go to Web.Config File and put this code
   <httpErrors errorMode=”Custom” existingResponse=”Replace”>
   <remove statusCode=”404″/>
   <error statusCode=”404″ path=”404.aspx” responseMode=”Redirect”/>

Be the first to post a comment.

Add a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.