Remove unnecessary erb stuff from redirct pages.