Adding in redirection stuff, for Theme Engine