Add error redirect.