handle redirect when page==0 then 301