#4166 closed defect (bug) (reported-upstream)
Paginated states of support forum archives (and sub-archives) should 404 when empty
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | low | |
Component: | Support Forums | Keywords: | seo |
Cc: |
Description
The following URLs, and the templates/scenarios they represent, should return a 404 HTTP status:
- https://wordpress.org/support/plugin/gutenberg/page/9999/ (paginated support archive for a plugin, outside of query bounds)
- https://wordpress.org/support/theme/p2/unresolved/page/10/ (paginated support sub-archive for a theme, outside of query bounds)
Change History (3)
#2
@
6 years 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.
Note: See
TracTickets for help on using
tickets.
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/