(Hopefully) fixed broken permalinks

This was a regex grep search and I don’t know regex very well so
there’s no guarantee it worked