1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Custom 404 pages with related results

Custom 404 pages with related results

2 posts, 0 answered
  1. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    13 Jan 2009
    Link to this post
    I finally figured out how to make a useful 404 page for my sitefinity sites. Before, since it was using the asp.net error redirecting, it was returning a status of 200 instead of 404. This was simple enough to fix (changing the Response.StatusCode) but in addition to that I can now use the Sitefinity search API to display a list of possible related pages for the users!

    Read more on my blog entry:
    http://www.selarom.com/blog/09-01-13/Sitefinity_Custom_404_Page_With_Related_Links.aspx

    sorry about any formatting errors; I just updated my blog and am sorting through the css and stuff. any comments or criticisms are appreciated!
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    14 Jan 2009
    Link to this post
    Hello SelArom,

    Thank you for contributing to our community, I updated your Telerik points.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered