change the absolute URL to relative URL.