template_redirect was commented out. removing dead code.