Added an empty/backslash check for url, this way we can redirect user to base url without problems: Flight::redirect('/');