change absolute url to dynamic