[wp-trac] [WordPress Trac] #21278: Infinite Duplicate Content (improper rel="canonical" for non-existant paged content)

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 22 01:55:24 UTC 2012


#21278: Infinite Duplicate Content (improper rel="canonical" for non-existant paged
content)
--------------------------+--------------------
 Reporter:  smub          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Canonical     |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------

Comment (by tommcfarlin):

 I can't reproduce this in any theme that's currently located in trunk. The
 steps I'm following to attempt to reproduce are:

 1. Navigate to a single post (i.e., /hello-word/)

 2. View source to check the canonical value ( reads `<link rel='canonical'
 href='http://localhost/dev/wordpress/trunk/hello-world/' />` )

 3. Append a series of digits after the URL (i.e., /hello-word/1234/)

 4. View source to check the canonical URL ( still reads: `<link
 rel='canonical' href='http://localhost/dev/wordpress/trunk/hello-world/'
 />` )

 I've also tried this with Twenty Ten and Twenty Eleven in WordPress 3.4.1
 and the canonical URL still renders appropriately regardless of paged
 value.

 Would like to dig into a bit deeper - what theme were you using when
 seeing this behavior?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21278#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list