Custom error page

Vote:
 
Is it possible to make changes to the error page, creating our own custom error page?
#12323
Mar 25, 2008 18:34
Vote:
 
I would also like to modify the error page. My thoughts were to first make an error page in EPiServer that should be shown if we have an error occuring in a single template. Then I would have this standard error page to shown when there is something serious with EPiServer that makes it impossible to display dynamic pages. Is there someone out there that has implemented this? /Johan
#14056
Mar 25, 2008 18:44
Vote:
 
This would be possible by defining some custom error pages in the customErrors section of the web.config. The following will redirect all 404 Page Not Found errors to my EPiServer page and all serious or other errors to my standard html page. Hope this helps, Jeremy.
#14057
Mar 25, 2008 18:44
Vote:
 
Hi. I´d like a custom error page for all 404´s, so that´s what I´m testing. But no matter what I set defaultRedirect to, it always redirects to the same page: a page saying the page was not found. Even if i set defaultRedirect to a non-existing page. Any suggestions?
#14058
Mar 25, 2008 18:44
Vote:
 
You can define the 404 error page in the Custom Errors tab in the properties dialog of your web site/virtual directory in the IIS-manager. You should make sure to set this to a url that points at an aspx-file on your web site to trigger the spider support module. You can read more about this in the following faq: http://www.episerver.com/templates/faq____1019.aspx
#14059
Mar 25, 2008 18:44
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.