Handling Custom 404 page in Multilingual Environment

  0 rating
8/23/2017 9:00:25 PM
5/7/2018 11:22:15 AM


By default Sitecore handles 404 by doing a 302 redirect to Sitecore/Service/notfound.aspx.  I feel this could be managed better and can be a content manageable page in a multilingual environment.

By using this module you can create custom 404 page in Sitecore as another item.

  • This module sets RequestErrors.UseServerSideRedirect to true which avoids 302 redirects.
  • This module handles to not send 404 response codes for Sitecore API's
  • This module handles to not send 404 response codes for the custom route. You can use the setting called "CutomRouteName" in patch config file to confirm your custom route name.
  • This module uses CustomHttpcontext to set 404 response codes for not found pages and sets Context Item as /Home/404(which can be manageable in config patch file.)


Here is the blog post explaining how I have implemented this: Sitecore Custom 404 page for multilingual multi-site environment


Release notes
Please insert section here whenever you add a new version of your Sitecore module package describing version number, new features, fixes and possible known issues.
Read more Back
Code examples

Solution screenshots(0)


Reviews (0)

Sort by: Date Most votes
  • Profile Avatar

    Level: 0

    x0 x0 x0




    Was this helpful?


Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment

Write a review

Title can't be empty
Review can't be empty
Post review


Title Description Download Action

Add File