[wp-trac] [WordPress Trac] #18660: Enhance rel_canonical function, add filter

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 14 16:06:40 UTC 2011


#18660: Enhance rel_canonical function, add filter
-------------------------------------------------+-------------------------
 Reporter:  nathanrice                           |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Canonical                            |  Review
 Severity:  normal                               |     Version:  3.3
 Keywords:  has-patch needs-testing 2nd-opinion  |  Resolution:
-------------------------------------------------+-------------------------

Comment (by nathanrice):

 Replying to [comment:1 nacin]:
 > Note that 438126 would be Akismet external's SVN revision number.
 Current trunk is [18667].

 Yes, of course. My mistake.

 Replying to [comment:1 nacin]:
 > Also note something about canonical in http://yoast.com/wp-
 theme/genesis/, published earlier this week.

 For the official rel_canonical() function, we definitely shouldn't
 canonicalize back to page 1 of an archive. That suggestion was to benefit
 our users at the recommendation of a very well respected SEO expert, Greg
 Boser. Yoast said he and Greg will have to fight about that the next time
 they see each other :-)

 So yes, my patch as is won't work. But it's a start. When I get some time,
 I'll updated the canonical generation to account for paging.

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


More information about the wp-trac mailing list