change links to pretty URLs