replace path to url from excluded