[wp-hackers] Should Monthly Archive Pages ever return 404?
Casey Bisson
casey.bisson at gmail.com
Mon Mar 9 17:50:22 GMT 2009
Isn't a 404 the only semantically reasonable response?
Something we probably all need to do is make our 404 templates more
useful, though. In the context you describe, it could easily look
ahead and back to the next month/year/period in which their are posts,
while still returning a 404, for example.
--Casey
http://maisonbisson.com
http://scriblio.net
On Mar 9, 2009, at 1:42 PM, Mike Schinkel wrote:
> I've just noticed something that surprised me, that if I go to an
> archive page for which there are no posts for a given month that I
> get a 404 error which doesn't exactly provide a great user
> experience for people hacking URLs. Should it (at least optionally)
> return a 200 ok but visually there are no posts for that month?
>
> -Mike Schinkel
> http://mikeschinkel.com/
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list