Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#11857 closed defect (bug) (fixed)

canonical redirect isn't working for paged=too_many

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


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)

#2 @miqrogroove
11 years ago

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

#3 @dd32
11 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.

#4 @beaulebens
10 years ago

+1 from me on this, makes sense.

#5 @dd32
10 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.