joined:Jan 30, 2011
I have done a lot of reading on this issue but can not seem to fix my problem.
The problem is that my custom 404 page does not seem to return headings correctly. In google webmaster tools it is showing me that I have soft 404's.
I'm not sure if this is something incorrect I have in my .htaccess file or the 404 page itself.
I have tried to set a forced 404 heading but it does not work.
here is an example of the custom error page being tested.
when i try and access a page that is not on my website i get this heading return from a header checker:
#1 Server Response: example.com/asdfsdvas/asdvsa
HTTP/1.1 302 Found
Date: Tue, 01 Mar 2011 16:56:07 GMT
Server: Apache/1.3.41 (Unix) mod_gzip/220.127.116.11a PHP/5.2.12 mod_ssl/2.8.31 OpenSSL/0.9.8e
Set-Cookie: PHPSESSID=458dc58b87e03eecab328379488fb037; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Status: 404 Not Found
that looks incorrect to me as I see it says 302 found at the top of the page. Is there a problem with this setup or is it ok to return these for a custom 404 page?