I have added a custom redirection for all user roles except “Administrator” to my functions.php .
//retrieve current user info
//If login user role is Subscriber
if ($current_user->user_level != 10)
wp_redirect( home_url()."/userbereich/" ); exit;
This solution seems not to work together with the one-click login ability of the Ultimate Facebook Plugin.
How can I set a redirection rule for this case?