Tag Archives: TrySkipIisCustomErrors

Sitecore 404 without 302

It’s a well known issue that when Sitecore displays a 404 page, it’s done by doing a 302 redirect to the 404 page, hence the 302 status code is thrown before the 404. The behavior is partially because of the … Continue reading

Posted in c#, General .NET, Sitecore 6 | Tagged , , , , , | 14 Comments

Custom 404 page ignored by IIS 7

If your IIS does not display your own custom error page, this might be the problem – and the solution: I recently had to implement a custom 404 error page. The code for that is pretty simple. In the web.config, … Continue reading

Posted in .net, c#, General .NET | Tagged , , | 3 Comments