Loading...

All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Changes between Version 7 and Version 8 of 404Handler


Ignore:
Timestamp:
2010-04-20 13:44:03 (4 years ago)
Author:
steve@…
Comment:

More help information for the 404 handler

Legend:

Unmodified
Added
Removed
Modified
  • 404Handler

    v7 v8  
    2020 
    2121== Changing the notfound page == 
    22 You can, and should, change the `/bvn/filenotfound/notfound.aspx` file to look somewhat like the rest of your site. The .aspx file is intentionally NOT an EPiServer template, to keep it clean and easy to troubleshoot. Please do not change and commit the notfound.aspx file directly in this library, make a copy of it and change that.  
     22You can, and should, change the `/bvn/filenotfound/notfound.aspx` file to look somewhat like the rest of your site. The .aspx file is intentionally NOT an EPiServer template, to keep it clean and easy to troubleshoot. It uses text resources from the `/lang` directory. You can change the contents of the 404 page by editing the language files.  
     23 
     24Please do not change and commit the `notfound.aspx` file directly in this library, make a copy of it and change that. 
    2325 
    2426Keep the page simple, and if possible, avoid retrieving data from the database (like pages in EPiServer). The 404 page could be the result of a missing page in EPiServer and in worst case could lead to an infinite loop of 404 requests. Also make sure that your 404 handler itself does not trigger any new 404 errors by linking to graphics etc. that is missing (for the same reason). 
     
    120122 
    121123== Configuration == 
    122 '''Note! ''' For EPiServer CMS 5, the only appSetting you might want to configure is the `EPsBvn404HandlerPage` to point to your own 404 page. The module is enabled by default and should work out of the box as long as you have a `CustomRedirects.config` file in your site root directory. 
     124'''Note! ''' For EPiServer CMS 5, the only appSetting you might want to configure is the `EPsBvn404HandlerPage` to point to your own 404 page. The module is enabled by default and should work out of the box as long as you have a `CustomRedirects.config` file in your site root directory. The `CustomRedirects.config` can be put in a VPP, but if the VPP is not a `VirtualPathNativeProvider` the contents of the file will be cached until the site is restarted (and not just until the file is changed.) 
    123125{{{ 
    124126#!text/xml