[wp-hackers] Correct 404 Behavior?

Computer Guru computerguru at neosmart.net
Sat Sep 15 18:33:48 GMT 2007


Probably because it's almost impossible to keep a list of all the
files you ever had...

Anyway, you'd have to check if that permalink *used* to exist and if
it does but isn't there now send a 410.

But even then, what if it never existed? Is that a 404? IMO it should
be (logically), but you end up *somewhere*.....

I know there are custom 404 error pages with useful links on them; but
is that what we can call the WP "page not found" message?

On 9/15/07, Joost de Valk <joost at joostdevalk.nl> wrote:
> Sending a 404 :)
>
> Officially, if a file is not there ANYMORE, you should send a 410,
> Content deleted, but no one does that.
>
> Cheers,
> Joost
>
> On Sep 15, 2007, at 8:24 PM, Computer Guru wrote:
>
> > Just a quick question:
> > Should 404 headers be sent for missing content or only missing files?
> >
> > If a post is missing, should that be an error message or a full 404?
> > Back in the day, it wasn't really much of a question:
> >
> > If /blog/my-article-2.htm wasn't there (keeping in mind that it was a
> > physical file), it was a 404.
> >
> > But now that's not a real file, it's just a permalink. If a permalink
> > doesn't exist or is broken, what's the correct *standard* behavior?
> >
> > --
> > Computer Guru
> > Director,
> > NeoSmart Technologies
> > http://neosmart.net/blog/
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> Joost de Valk
>
> @: joost at joostdevalk.nl
> W: http://www.joostdevalk.nl/
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


-- 
Computer Guru
Director,
NeoSmart Technologies
http://neosmart.net/blog/


More information about the wp-hackers mailing list