Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1658 closed defect (bug) (no action required)

sub blog url error -> bp_loggedinuser_link()

Reported by: mikepratt's profile mikepratt Owned by:
Milestone: 1.2 Priority: major
Severity: Version:
Component: Keywords: bp-default, username
Cc:

Description

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.

Change History (1)

#1 @apeatling
15 years ago

  • Resolution set to invalid
  • Status changed from new to closed

This is actually how it's supposed to work. The idea of the multiblog setting is to allow you to create multiple sites with different branding, but using the same member data.

For example it is used on http://profiles.wordpress.org/mikepratt/ and http://buddypress.org/developers/mikepratt/

Both have exactly the same data, but a different design and member URL.

Note: See TracTickets for help on using tickets.