change absolute url to relative url