Forum Moderators: phranque

Message Too Old, No Replies

Custom 404 Pages in II6

Server headers return a 200 status when they should return a 404.

         

bwstyle

3:53 pm on Sep 25, 2007 (gmt 0)

10+ Year Member



I am using II6 to configure custom 404-error pages. I have followed all of these steps:
[microsoft.com...]

However, the server headers still return a 200 status when they should return a 404. Is anyone else having this problem? Does anyone know of a way to solve this issue?

snakefoot

10:35 am on Oct 13, 2007 (gmt 0)

10+ Year Member



Believe the only way to make a custom 404 that actually returns 404 (and not 200) is to make the page in asp with the following code:

<%
Response.Status = "404 Not Found"
%>

[gsitecrawler.com...]