[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
Mon Sep 30 17:47:10 UTC 2024


#50163: Perform a canonical redirect when paginated states of the front page are
not found
-------------------------------------------------+-------------------------
 Reporter:  dd32                                 |       Owner:
                                                 |  hellofromTonya
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.7
Component:  Canonical                            |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots early      |     Focuses:
  has-unit-tests has-testing-info                |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch has-screenshots early has-unit-tests has-testing-
     info commit => has-patch has-screenshots early has-unit-tests has-
     testing-info


Comment:

 Sharing a summary of @jjj and my discussion and investigation:

 * A static static frontpage:
     * may have a `<!--nextpage-->`.
     * may have a block or shortcode with its own pagination and query,
 which may use `'page'` (e.g. bbPress with `[bbp-topic-index]`).
     * and/or may have a combination of the above.

 * When a static frontpage has `[bbp-topic-index]` and `<!--nextpage-->`,
 it's get more complicated when the current `/page/2` does not include the
 `[bbp-topic-index]` content.

 Should [59091] be reverted ahead of 6.7 Beta 1?

 From @jjj:
 >Agree. This specific bbPress breakage weighs heavily on my decision,
 because it is a pretty common type of implementation.

 I agree. This particular issue needs a lot more thinking and discussion.

 I'll revert it shortly and reopen the PRs associated with it. cc @dd32
 @peterwilsoncc

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


More information about the wp-trac mailing list