Make WordPress Core

Opened 14 years ago

Closed 13 years ago

#7190 closed defect (bug) (duplicate)

Category and tag archive pages should generate correct link rel for feeds

Reported by: borismann's profile borismann Owned by: hailin's profile hailin
Milestone: Priority: normal
Severity: normal Version: 2.5.1
Component: General Keywords: feeds, rss2_url
Focuses: Cc:


Currently, if you go to a category archive page (eg. /categories/cat-name) the link rel in the header simply outputs the main blog feed. There is no way to tell -- including from view source -- that there are per category / tag feeds available.

This might just be a general enhancement to bloginfo(rss2_url) -- it could auto detect what page it is on and just "do the right thing" -- otherwise you end up having to manually edit the PHP of the header of themes to put logic in for this.

Change History (5)

#1 @ryan
14 years ago

  • Milestone changed from 2.7 to 2.8

Moving enhancements to 2.8.

#2 @borismann
13 years ago

  • Type changed from enhancement to defect (bug)

OK, I'm actually going to call this a bug, rather than an enhancement / feature. If there is a feed available for the blog / category / tag / page you are on, the auto discovery link in the header should show it.

The "main feed" can also show (multiple link rel=feed are allowed), but the feed for the page you are on should be first.

#3 @hailin
13 years ago

  • Owner changed from anonymous to hailin
  • Status changed from new to assigned

I will take a look.

#4 @hailin
13 years ago

It appears this issue was addressed (at least partially) by

So if you view source:

You can see
<link rel="alternate" type="application/rss+xml" title="Dr. Hailin blog &raquo; Uncategorized Category Feed" href="" />

Let me know if this is not sufficient, or if you have better ideas.

#5 @Denis-de-Bernardy
13 years ago

  • Milestone 2.8 deleted
  • Resolution set to duplicate
  • Status changed from assigned to closed

closing as dup of #8878, which fixed it.

Note: See TracTickets for help on using tickets.