[wp-trac] Re: [WordPress Trac] #7592: index.php doesn't generate
404's
WordPress Trac
wp-trac at lists.automattic.com
Mon Aug 25 09:24:36 GMT 2008
#7592: index.php doesn't generate 404's
---------------------+------------------------------------------------------
Reporter: btmorex | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: General | Version: 2.6.1
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by mrmist):
I'm not sure that that's actually a bug. I mean, requesting
index.php?''whatever'' is actually asking for the page index.php, which is
(by default) present, and so (technically) not a 404, regardless of what
query string you pass after the question mark.
Passing ?p=''somenon-existantpostnumber'' as the query will get you a
WordPress error that no posts match your query, though.
So I guess what I'm saying is that it shouldn't be returning 404. The
current behaviour of showing the blog front page is pretty much correct,
in my opinion.
--
Ticket URL: <http://trac.wordpress.org/ticket/7592#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list