[buddypress-trac] [BuddyPress] #1741: Resolve redundant URLs for SEO reasons
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sun Oct 23 14:46:25 UTC 2011
#1741: Resolve redundant URLs for SEO reasons
-----------------------------------+---------------------------
Reporter: Ezd | Owner: boonebgorges
Type: enhancement | Status: assigned
Priority: major | Milestone: 1.6
Component: Core | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+---------------------------
Changes (by boonebgorges):
* keywords: => has-patch 2nd-opinion
Comment:
I've attached a patch with a possible solution. The patch does three
things:
1) Redirects example.com/members/boone to the default component (generally
example.com/members/boone/activity)
2) Changes bp_core_new_nav_item() so that visitors are redirected to the
default_subnav_slug when available. Eg, example.com/members/boone/activity
will redirect to example.com/members/boone/activity/just-me
3) Fixes the blogs component so that the subnav tab actually works (this
is currently broken)
I like this solution because it removes redundant URLs for profiles in a
way that is non-intrusive and backward compatible. Its biggest downside is
that the resolved URLs are generally longer and uglier; you will never
resolve to example.com/members/boone, for instance.
Thoughts?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/1741#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list