fix seo redirect

fix bug when delete and update product from page /cart
and fix bug when in setting seo disable,  but redirection 301 is done