[wp-trac] [WordPress Trac] #11856: URL for 1st comments page is not canonical

WordPress Trac noreply at wordpress.org
Sun Oct 26 11:06:34 UTC 2014


#11856: URL for 1st comments page is not canonical
-------------------------------------+-----------------------------
 Reporter:  sirzooro                 |       Owner:  markjaquith
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Canonical                |     Version:  3.0
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:
-------------------------------------+-----------------------------
Changes (by sirzooro):

 * keywords:  needs-patch close 2nd-opinion => needs-patch 2nd-opinion


Comment:

 There are two problems here:

 * duplicate content, in default installations and many themes who do not
 do anything special with comments - so default canonical URL would be
 appropriate for them;
 * some themes or comment systems like Diquis have special use for
 "comments page 1", so they depend on current solution.

 My proposal is different: change core to force canonical comments page URL
 by default. Additionally provide way to disable it, e.g. by deregistering
 some action hook or using new "pre" filter. This way both group of users
 will be happy by having good default implementation, and having way to
 disable default if they want to do differently.

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


More information about the wp-trac mailing list