correct the pages redirect.