redirect: adding redirect for pdf