Changes paths from local to url