Skip to:

Opened 8 years ago

Last modified 5 years ago

#3018 new defect (bug)

Invalid pagination or incorrect page is not giving 404 error

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


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
7 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.

#2 @jonoaldersonwp
5 years ago

  • Priority changed from normal to high

Serious SEO issue; bumping priority.

Note: See TracTickets for help on using tickets.