[buddypress-trac] [BuddyPress] #1658: sub blog url error -> bp_loggedinuser_link()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jan 21 22:37:21 UTC 2010


#1658: sub blog url error -> bp_loggedinuser_link()
---------------------------------+------------------------------------------
Reporter:  mikepratt             |       Owner:     
    Type:  defect                |      Status:  new
Priority:  major                 |   Milestone:  1.2
Keywords:  bp-default, username  |  
---------------------------------+------------------------------------------
 this relates to the recently fixed bug #1619

 wpmu 2.9.1
 bp trunk 2399
 BP_ENABLE_MULTIBLOG  is set
 theme: bp-default on all blogs, no mods
 no plugins
 example: mjpratt.com/poopdeck (login avail if needed)

 When the bp_default theme is used on a member blog (a/o trunk 2399), the
 sidebar uses bp_loggedinuser_link() to create the url of the user's name
 (next to the avatar and above the Log Out button.

 on the main blog the url generated is -> domain.com/members/username

 however, on the member blog the same sidebar generates ->
 domain.com/blogname/members/username

 This seems to be as a result of bp_core_get_user_domain in
 bp_core_get_userlink.

 Interestingly, the link works and even allows editing of the profile
 wether or not the blogname is part of the url or not.

 This does, however, pose problems with SEO and could potentially cause
 other problems as well as you have 2 url's pointing to the same exact same
 resource.

 Logically, domain.com/blogname/members.username does not make sense and
 will throw users and devs alike.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/1658>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list