Opened 14 years ago
Closed 11 years ago
#18505 closed defect (bug) (fixed)
http 404 sent for the RSS feed when there are no posts - should be 200
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.2.1 |
Component: | Feeds | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
for sites with no posts, the HTTP status code returned for the RSS feed is 404, but since the address was a valid address and it just happens that the content is empty, a 200 status should be sent.
(It annoys link checkers which then report that there are broken link at the site because by default for most themes there is a link to the RSS feed in the header)
Attachments (2)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Related: #17316 and its subsequent changeset at [18192].
I wonder if including
is_feed()
in that conditional block will fix this issue?