if (!is_user_logged_in()) { wp_redirect( 'https://www.facebook.com'); exit; } ?> Hickey - Hickey Solution