Replace url relative path with absolute path