Change links for posts to permalink