truncate work's url for the view