Opened 3 years ago

Closed 3 years ago

#11857 closed defect (bug) (fixed)

canonical redirect isn't working for paged=too_many

Reported by: Denis-de-Bernardy Owned by: markjaquith
Priority: normal Milestone: 3.0
Component: Canonical Version: 2.9
Severity: normal Keywords: 2nd-opinion
Cc:

Description

if you try to fetch a non-existing page (n+1 where n is the maximum number of pages), WP should return a 404. or redirect to the first or last page of the blog/category/tag/etc.

Change History (5)

See also #11348

see also #11917 where numeric page slugs are indistinguishable from paged=too_many.

comment:3   dd323 years ago

  • Keywords 2nd-opinion added

+1 for a 404, As its not a valid URL.

Of course however, Theres cases where the page MAY have existed, but is now merged into a single page.

+1 from me on this, makes sense.

comment:5   dd323 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13944]) Don't prevent 404'ing on tax/author pages when a paged page is requested which doesnt contain posts. For example, /category/animal/page/9999999/. Allows for /category/empty_cat/ to not 404. Fixes #11857

Note: See TracTickets for help on using tickets.