Skip to:
Content

bbPress.org

Opened 3 years ago

Last modified 7 months ago

#3018 new defect

Invalid pagination or incorrect page is not giving 404 error

Reported by: casiepa Owned by:
Milestone: Future Release Priority: high
Severity: normal Version: 2.0
Component: Component - Any/All Keywords: needs-patch
Cc:

Description

Let say there are 28 topics in a forum and 10 are displayed per page. This means page 3 is the last page.
If there is somewhere a mistake in the theme or I try to go to /page/4 then I would expect a 404 or so (Core is giving a 404!), but no, I'm just getting the 'Oh bother'.

Also some SEO are not so happy about this either as it can create strange loops.

Change History (2)

#1 @netweb
3 years ago

  • Component changed from General to Component - Any/All
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Summary changed from Incorrect page is not giving 404 error to Invalid pagination or incorrect page is not giving 404 error
  • Version changed from 2.5.10 to 2.0

Related: A slightly different case using a deliberate page number known not to exist displays the _lead topic_ followed by the _new reply form_ without error: e.g. https://bbpress.org/forums/topic/bbpress-2-6-beta/page/99999

#2 @jonoaldersonwp
7 months ago

  • Priority changed from normal to high

Serious SEO issue; bumping priority.

Note: See TracTickets for help on using tickets.