Page is a not externally linkable
- WebmasterWorld
-- New To Web Development
---- Canonical problems?


trader - 7:40 pm on Sep 22, 2006 (gmt 0)


Thanks jd for correcting my code. I am not an expert so really do not understand why my ErrorDocument code was wrong but you are correct in that I just implemented the change with these results.

Using the way I did it in my earlier post I get this when testing a madeup htm name tested by using webconfs.com free header checker. It forwards to index with this: HTTP/1.1 302 Found =>

The after the change you suggested it still forwards to index and gets this: HTTP/1.1 404 Not Found =>

So it does work either way but the 404 error code now is accurate. Thanks again JD, most appreciated.

BTW, why does it make a difference if the error code 404 is indicated correctly or not since they both go to the index page? Sorry if that is a dumb question.


Thread source:: http://www.webmasterworld.com/new_web_development/3092989.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com