[wp-trac] [WordPress Trac] #50163: Perform a canonical redirect when paginated states of the front page are not found

WordPress Trac noreply at wordpress.org
Thu May 14 06:44:55 UTC 2020


#50163: Perform a canonical redirect when paginated states of the front page are
not found
--------------------------+-----------------------------
 Reporter:  dd32          |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Canonical     |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 As a followup to #45337, [34492], and [47727].

 When example.com/ has a static front page assigned and uses `<!--
 nextpage-->` accessing non-existing pages uses example.com/page/3/ and
 Canonical won't kick in.

 This is because paged states of the front page use the `paged` query var,
 not the `page` query var.

 Should also fix https://meta.trac.wordpress.org/ticket/5184 :)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50163>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list