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

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Nov 28 16:22:51 UTC 2011


#2681: Canonicalization of Buddypress URLs
--------------------------+---------------------------
 Reporter:  lucianop      |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  1.6
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------------

Comment (by boonebgorges):

 2681.002.patch is the function that I've come up with to handle this. I've
 hooked it to a new do_action() in bp_core_load_template(), so that the
 redirect only takes place for pages that are viewable in a browser
 (mimicking the fact that WP does the redirect at template_redirect).

 This patch will have to be accompanied by a gigantic audit of our own
 redirect and URL-building functions. We want to avoid redirects where
 possible, so we should be building our URLs appropriately - with the
 trailing slash. I'll work on it. In the meantime, feedback welcome on
 2681.002.

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


More information about the buddypress-trac mailing list