Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Redirect loops on groups and profiles

@craftersuniversity

Participant

I found the problem, at least for my site. Weirdly enough, what worked for my spit image development site, did not work for my live site, so i had to do a lot of detective work.

Try this: Install latest version of BuddyPress. Got to the FTP server and folder /wp-content/plugins/buddypress/bp-core/ and in that folder, download bp-core-actions.php. Open it in notepad, search for “add_action( ‘bp_template_redirect’, ‘bp_redirect_canonical’, 2 );” and delete that line. Save the file and upload it to the same place on the FTP server, overwriting the original. Hokus Pokus, your redirect problem should be gone.

It took me most of my day to narrow it down to this, but finally i got BuddyPress to completely work as far as i can see. All BuddyPress pages are accessible, i can add activities and so on. Hope this works for you.

The reason this problem popped up with the latest versions of BuddyPress is clear if you read this page where the 1.9 version update details claims that “We’ve brought back bp_redirect_canonical() for helping redirect to top level/default members sections.” Why this is needed i haven’t got the foggiest…

Skip to toolbar