Porting from https://aspnet.codeplex.com/workitem/10131:
Implementing a custom 404 error page within ASP.NET MVC is difficult and error prone
Here are some examples
http://stackoverflow.com/a/9026907/1684
http://www.secretgeek.net/custom_errors_mvc.asp
http://stackoverflow.com/questions/4911212/how-to-implement-proper-http-error-handling-in-net-mvc-2
There should be one unified recommended solution for implementing this functionality
Implementing a custom 404 error page within ASP.NET MVC is difficult and error prone
Here are some examples
http://stackoverflow.com/a/9026907/1684
http://www.secretgeek.net/custom_errors_mvc.asp
http://stackoverflow.com/questions/4911212/how-to-implement-proper-http-error-handling-in-net-mvc-2
There should be one unified recommended solution for implementing this functionality