Making WordPress.org

Opened 22 months ago

Closed 22 months ago

Last modified 22 months ago

#4166 closed defect (reported-upstream)

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

Reported by: 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
22 months 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 https://wordpress.org/support/forum/installation/page/255255255/

#2 @dd32
22 months ago

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

Found an upstream ticket: https://bbpress.trac.wordpress.org/ticket/3018

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 WordPress.org without core bbPress changes.

#3 @jonoaldersonwp
22 months ago

Thanks for investigating! :)

Note: See TracTickets for help on using tickets.