[buddypress-trac] [BuddyPress] #2681: Canonicalization of Buddypress URLs

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue Jan 18 05:42:40 UTC 2011

#2681: Canonicalization of Buddypress URLs
  Reporter:  lucianop  |      Owner:
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  1.4
 Component:  Core      |    Version:
Resolution:            |   Keywords:  url, canonicalization

Comment (by r-a-y):

 Interestingly, changing Wordpress' canonical action hook from
 "template_redirect" to "get_header" fixes this for BuddyPress.

 No time for a patch, but try changing this line in /wp-

 add_action('template_redirect', 'redirect_canonical');


 add_action( 'get_header', 'redirect_canonical', 0 );

 Not sure if there are any side-effects with doing this.

Ticket URL: <https://trac.buddypress.org/ticket/2681#comment:2>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list