redirect url parents to parents in classes