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

WordPress Trac noreply at wordpress.org
Wed Apr 30 19:53:13 UTC 2014


#28081: Do a canonical redirect for pages when query var 'paged' is set
--------------------------+-----------------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Canonical     |    Version:
 Severity:  normal        |   Keywords:  dev-feedback
  Focuses:                |
--------------------------+-----------------------------
 Example: http://make.wordpress.org/core/features-as-plugins/page/2323/

 You can append /page/{any number} to a page and still get the same content
 as http://make.wordpress.org/core/features-as-plugins/

 The same doesn't happen for posts.

 [source:/trunk/src/wp-includes/canonical.php#L274]: Seems like l274 and
 l276 should be !is_singular() as it was before [6115]. (Block was changed
 in [9697].)

 Want to use this ticket to get some reasons for [6115]. Currently I only
 can think of custom page templates which are using a custom pagination, so
 maybe wontfix.

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


More information about the wp-trac mailing list