Redirect away from URL with invalid page number