Make links localhost friendly