Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4166 closed defect (bug) (reported-upstream)

Paginated states of support forum archives (and sub-archives) should 404 when empty

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by:
Milestone: Priority: low
Component: Support Forums Keywords: seo


The following URLs, and the templates/scenarios they represent, should return a 404 HTTP status:

Change History (3)

#1 @dd32
5 years ago

Unfortunately this is a limitation of bbPress, and needs to be reported upstream.

bbPress isn't aware it's a 404 archive until it attempts it's topic query, which only happens at the point in the <body> where it renders the list. Performing the query earlier should be viable, but there's a lot of intertwined (and IMHO fragile) connections that make it happen.

Although the two views you mentioned were wporg ones, the core bbPress views suffer the same, and it's not easy to just fix our query

#2 @dd32
5 years ago

  • Component changed from General to Support Forums
  • Resolution set to reported-upstream
  • Status changed from new to closed

Found an upstream ticket:

I'm closing this as a duplicate/upstream-issue of that, as we're not going to be likely to be able to fix this on without core bbPress changes.

#3 @jonoaldersonwp
5 years ago

Thanks for investigating! :)

Note: See TracTickets for help on using tickets.