[wp-trac] [WordPress Trac] #28081: Do a canonical redirect for pages when query var 'paged' is set

WordPress Trac noreply at wordpress.org
Sun Dec 10 20:26:46 UTC 2017


#28081: Do a canonical redirect for pages when query var 'paged' is set
------------------------------------------+-----------------------------
 Reporter:  ocean90                       |       Owner:  SergeyBiryukov
     Type:  defect (bug)                  |      Status:  accepted
 Priority:  normal                        |   Milestone:  5.0
Component:  Canonical                     |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch has-unit-tests SEO  |     Focuses:
------------------------------------------+-----------------------------
Changes (by joostdevalk):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests SEO


Comment:

 @chesio yeah the first example you give is not a correct URL for a
 paginated version of the post, whereas the second is (even though there is
 of course no pagination within the post), and the canonical code doesn't
 handle that well.

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


More information about the wp-trac mailing list