diff --git src/bp-core/bp-core-catchuri.php src/bp-core/bp-core-catchuri.php
index ada5bf9..a1d58bd 100644
--- src/bp-core/bp-core-catchuri.php
+++ src/bp-core/bp-core-catchuri.php
@@ -272,6 +272,16 @@ function bp_core_set_uri_globals() {
 
 			// Are we viewing a specific user?
 			if ( $after_member_slug ) {
+
+				/*
+				 * Filter the portion of the URI immediately following 'members'.
+				 *
+				 * @since 2.6.0
+				 *
+				 * @param string $after_member_slug The portion of the URI immediately following 'members'.
+				 */
+				$after_member_slug = apply_filters( 'bp_core_set_uri_globals_after_member_slug', $after_member_slug );
+
 				// If root profile, we've already queried for the user.
 				if ( $root_profile instanceof WP_User ) {
 					$bp->displayed_user->id = $root_profile->ID;
