pass the pages when redirects