[wp-trac] [WordPress Trac] #13049: Wordpress should not generate feeds for 404 pages
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 24 05:52:31 UTC 2010
#13049: Wordpress should not generate feeds for 404 pages
--------------------------+-------------------------------------------------
Reporter: solarissmoke | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: 3.0
Component: Feeds | Version: 3.0
Severity: normal | Keywords: dev-feedback
--------------------------+-------------------------------------------------
Comment(by solarissmoke):
Replying to [comment:5 dd32]:
> I'd say that'd be for not 404'ing valid feed url's, For example, the
Feed url of a empty category, The feed is a valid feed, even if it has no
posts.
No, the issue isn't with empty feeds. If you try to access a feed for an
empty category you just get an empty feed (status 200), which is fine.
The problem is when you try to access the feed for a non-existent
category, then you still get a feed template, which doesn't make sense,
instead of a proper 404 page.
I think is_feed() and is_404() should be mutually exclusive. You cannot
have both returning true at the same time.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13049#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list