Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,526
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,495
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
hi Burt i’m testing your code locally and i’ve some problems:
i’ve created a redirect.php page in mu-plugins folder.
the page contains the following code (i’ve changed here php opening and closing).
php open
function oci_login_redirect($redirect_to, $set_for, $user){
$redirect_to = bp_core_get_userurl($user->ID);
return $redirect_to;
}
add_filter(‘login_redirect’, ‘oci_login_redirect’, 10, 3);
php close
when i login, i am leaded to a 404 error page. Then, if i go “back” with the browser, i am logged.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS