Adds the 'permanent' options to a redirect.