changes redirect path to sanity